You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlbeans.apache.org by ce...@apache.org on 2005/09/09 01:18:48 UTC
svn commit: r279672 [1/8] - in /xmlbeans/trunk/test/perf: ./ bin/ cases/
cases/xsd/ src/org/apache/xmlbeans/test/performance/jaxb/
src/org/apache/xmlbeans/test/performance/jaxb2/
src/org/apache/xmlbeans/test/performance/parsers/ src/org/apache/xmlbeans...
Author: cezar
Date: Thu Sep 8 16:18:37 2005
New Revision: 279672
URL: http://svn.apache.org/viewcvs?rev=279672&view=rev
Log:
Contributed by Cezar Andrei and Rajiv Balachandran. Adding new tests to the performance test suite for JAXB2, parser comparison scenarios and xml binding scenarios
Added:
xmlbeans/trunk/test/perf/bin/jaxb2.bat
xmlbeans/trunk/test/perf/bin/parsers.bat
xmlbeans/trunk/test/perf/bin/run_jaxb2.bat
xmlbeans/trunk/test/perf/cases/parser_instances.zip (with props)
xmlbeans/trunk/test/perf/cases/xsd/doc.xsd
xmlbeans/trunk/test/perf/src/org/apache/xmlbeans/test/performance/jaxb2/
xmlbeans/trunk/test/perf/src/org/apache/xmlbeans/test/performance/jaxb2/NPrimTopDownJaxb2.java
xmlbeans/trunk/test/perf/src/org/apache/xmlbeans/test/performance/jaxb2/POGetCustNameJaxb2.java
xmlbeans/trunk/test/perf/src/org/apache/xmlbeans/test/performance/jaxb2/POGetSetGetCustNameJaxb2.java
xmlbeans/trunk/test/perf/src/org/apache/xmlbeans/test/performance/jaxb2/POReadAllJaxb2.java
xmlbeans/trunk/test/perf/src/org/apache/xmlbeans/test/performance/jaxb2/POReadOneJaxb2.java
xmlbeans/trunk/test/perf/src/org/apache/xmlbeans/test/performance/jaxb2/POTopDownJaxb2.java
xmlbeans/trunk/test/perf/src/org/apache/xmlbeans/test/performance/jaxb2/POTopDownSaveJaxb2.java
xmlbeans/trunk/test/perf/src/org/apache/xmlbeans/test/performance/jaxb2/PrimTopDownJaxb2.java
xmlbeans/trunk/test/perf/src/org/apache/xmlbeans/test/performance/parsers/
xmlbeans/trunk/test/perf/src/org/apache/xmlbeans/test/performance/parsers/BaseSaxPerfTest.java
xmlbeans/trunk/test/perf/src/org/apache/xmlbeans/test/performance/parsers/DefaultSaxParserPerfTests.java
xmlbeans/trunk/test/perf/src/org/apache/xmlbeans/test/performance/parsers/Jaxb2Tests.java
xmlbeans/trunk/test/perf/src/org/apache/xmlbeans/test/performance/parsers/PiccoloPerfTests.java
xmlbeans/trunk/test/perf/src/org/apache/xmlbeans/test/performance/parsers/Utils.java
xmlbeans/trunk/test/perf/src/org/apache/xmlbeans/test/performance/parsers/XMLParsers.java
xmlbeans/trunk/test/perf/src/org/apache/xmlbeans/test/performance/parsers/XercesSaxParserPerfTests.java
xmlbeans/trunk/test/perf/src/org/apache/xmlbeans/test/performance/parsers/XmlBeansTests.java
Modified:
xmlbeans/trunk/test/perf/bin/run_all.bat
xmlbeans/trunk/test/perf/bin/run_all_nonmemory.bat
xmlbeans/trunk/test/perf/bin/svn.bat
xmlbeans/trunk/test/perf/bin/v2.bat
xmlbeans/trunk/test/perf/build.xml
xmlbeans/trunk/test/perf/cases/xsd/non-primitives.xsd
xmlbeans/trunk/test/perf/cases/xsd/perf-results.xsd
xmlbeans/trunk/test/perf/cases/xsd/primitives.xsd
xmlbeans/trunk/test/perf/cases/xsd/purchase-order-1.xml
xmlbeans/trunk/test/perf/cases/xsd/purchase-order-2.xml
xmlbeans/trunk/test/perf/cases/xsd/purchase-order-3.xml
xmlbeans/trunk/test/perf/cases/xsd/purchase-order-4.xml
xmlbeans/trunk/test/perf/cases/xsd/purchase-order-5.xml
xmlbeans/trunk/test/perf/cases/xsd/purchase-order-6.xml
xmlbeans/trunk/test/perf/cases/xsd/purchase-order-7.xml
xmlbeans/trunk/test/perf/cases/xsd/purchase-order-jibxbinding.xml
xmlbeans/trunk/test/perf/cases/xsd/purchase-order.xsd
xmlbeans/trunk/test/perf/src/org/apache/xmlbeans/test/performance/jaxb/POGetCustNameJaxb.java
xmlbeans/trunk/test/perf/src/org/apache/xmlbeans/test/performance/utils/Constants.java
Added: xmlbeans/trunk/test/perf/bin/jaxb2.bat
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/perf/bin/jaxb2.bat?rev=279672&view=auto
==============================================================================
--- xmlbeans/trunk/test/perf/bin/jaxb2.bat (added)
+++ xmlbeans/trunk/test/perf/bin/jaxb2.bat Thu Sep 8 16:18:37 2005
@@ -0,0 +1,77 @@
+@echo off
+REM -------------------------------------------------------------------------
+REM Copyright 2004 The Apache Software Foundation
+REM
+REM Licensed under the Apache License, Version 2.0 (the "License");
+REM you may not use this file except in compliance with the License.
+REM You may obtain a copy of the License at
+REM
+REM http://www.apache.org/licenses/LICENSE-2.0
+REM
+REM Unless required by applicable law or agreed to in writing, software
+REM distributed under the License is distributed on an "AS IS" BASIS,
+REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+REM See the License for the specific language governing permissions and
+REM limitations under the License.
+REM -------------------------------------------------------------------------
+
+REM SUPPORTED PARAMS
+REM TODO: Make command line arg parsing cleaner
+set MEM=64
+set FLAVOR=
+set FILENAME=
+
+REM SCAN FIRST PARAM
+if not "%2"=="" goto %2
+goto default
+goto end
+:memory
+set MEM=%3
+goto end
+:flavor
+set FLAVOR=%3
+goto end
+:filename
+set FILENAME=%3
+goto end
+:default
+goto end
+:end
+
+REM SCAN SECOND PARAM
+if not "%4"=="" goto %4
+goto default
+goto end
+:memory
+set MEM=%5
+goto end
+:flavor
+set FLAVOR=%5
+goto end
+:filename
+set FILENAME=%5
+goto end
+:default
+goto end
+:end
+
+REM SCAN THIRD PARAM
+if not "%6"=="" goto %6
+goto default
+goto end
+:memory
+set MEM=%7
+goto end
+:flavor
+set FLAVOR=%7
+goto end
+:filename
+set FILENAME=%7
+goto end
+:default
+goto end
+:end
+
+echo on
+java -Xmx%MEM%m -Xbootclasspath/p:%XMLBEANS_PERFROOT%\3rdparty\xerces\xerces-2_7_1\xml-apis.jar:%XMLBEANS_PERFROOT%\3rdparty\xerces\xerces-2_7_1\xercesImpl.jar -classpath %XMLBEANS_PERFROOT%\build;%XMLBEANS_PERFROOT%\schema_build\jaxb2-purchase-order.jar;%XMLBEANS_PERFROOT%\schema_build\jaxb2-primitives.jar;%XMLBEANS_PERFROOT%\schema_build\jaxb2-non-primitives.jar;%JAXB2_LIBDIR%\lib\jaxb-impl.jar;%JAXB2_LIBDIR%\lib\jaxb-api.jar;%JAXB2_LIBDIR%\lib\activation.jar;%JAXB2_LIBDIR%\lib\jsr173_1.0_api.jar -DPERF_ROOT=%XMLBEANS_PERFROOT% org.apache.xmlbeans.test.performance.jaxb2.%1 %FLAVOR% %FILENAME%
+
Added: xmlbeans/trunk/test/perf/bin/parsers.bat
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/perf/bin/parsers.bat?rev=279672&view=auto
==============================================================================
--- xmlbeans/trunk/test/perf/bin/parsers.bat (added)
+++ xmlbeans/trunk/test/perf/bin/parsers.bat Thu Sep 8 16:18:37 2005
@@ -0,0 +1,21 @@
+@echo off
+REM -------------------------------------------------------------------------
+REM Copyright 2004 The Apache Software Foundation
+REM
+REM Licensed under the Apache License, Version 2.0 (the "License");
+REM you may not use this file except in compliance with the License.
+REM You may obtain a copy of the License at
+REM
+REM http://www.apache.org/licenses/LICENSE-2.0
+REM
+REM Unless required by applicable law or agreed to in writing, software
+REM distributed under the License is distributed on an "AS IS" BASIS,
+REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+REM See the License for the specific language governing permissions and
+REM limitations under the License.
+REM -------------------------------------------------------------------------
+
+java -Xmx%MEM%m -classpath %XMLBEANS_PERFROOT%\build;%XMLBEANS_PERFROOT%\schema_build\parsers-jaxb2-purchase-order.jar;%XMLBEANS_PEFROOT%\schema_build\parsers-svn-doc.jar;%XMLBEANS_PERFROOT%\schema_build\parsers-svn-purchase-order.jar;%XMLBEANS_HOME%\build\lib\xbean.jar;%XMLBEANS_HOME%\external\lib\piccolo_apache_dist_20040629_v2.jar;%JAXB2_LIBDIR%\lib\jaxb-api.jar;%JAXB2_LIBDIR%\lib\jaxb-impl.jar;%JAXB2_LIBDIR%\lib\jsr173_1.0_api.jar;%JAXB2_LIBDIR%\lib\activation.jar;%XMLBEANS_PERFROOT%\3rdparty\xerces\xerces-2_7_1\xercesImpl.jar -DPERF_ROOT=%XMLBEANS_PERFROOT% org.apache.xmlbeans.test.performance.parsers.XMLParsers
+
+
+
Modified: xmlbeans/trunk/test/perf/bin/run_all.bat
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/perf/bin/run_all.bat?rev=279672&r1=279671&r2=279672&view=diff
==============================================================================
--- xmlbeans/trunk/test/perf/bin/run_all.bat (original)
+++ xmlbeans/trunk/test/perf/bin/run_all.bat Thu Sep 8 16:18:37 2005
@@ -3,5 +3,6 @@
call run_svn.bat
call run_castor.bat
call run_jaxb.bat
+call run_jaxb2.bat
call run_jibx.bat
call run_xerces.bat
Modified: xmlbeans/trunk/test/perf/bin/run_all_nonmemory.bat
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/perf/bin/run_all_nonmemory.bat?rev=279672&r1=279671&r2=279672&view=diff
==============================================================================
--- xmlbeans/trunk/test/perf/bin/run_all_nonmemory.bat (original)
+++ xmlbeans/trunk/test/perf/bin/run_all_nonmemory.bat Thu Sep 8 16:18:37 2005
@@ -1,7 +1,8 @@
call run_v1_nonmemory.bat
call run_v2_nonmemory.bat
call run_svn_nonmemory.bat
-call run_jaxb_nonmemory.bat
+call run_jaxb.bat
+call run_jaxb2.bat
call run_jibx.bat
call run_castor.bat
call run_xerces_nonmemory.bat
Added: xmlbeans/trunk/test/perf/bin/run_jaxb2.bat
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/perf/bin/run_jaxb2.bat?rev=279672&view=auto
==============================================================================
--- xmlbeans/trunk/test/perf/bin/run_jaxb2.bat (added)
+++ xmlbeans/trunk/test/perf/bin/run_jaxb2.bat Thu Sep 8 16:18:37 2005
@@ -0,0 +1,48 @@
+@echo off
+REM -------------------------------------------------------------------------
+REM Copyright 2004 The Apache Software Foundation
+REM
+REM Licensed under the Apache License, Version 2.0 (the "License");
+REM you may not use this file except in compliance with the License.
+REM You may obtain a copy of the License at
+REM
+REM http://www.apache.org/licenses/LICENSE-2.0
+REM
+REM Unless required by applicable law or agreed to in writing, software
+REM distributed under the License is distributed on an "AS IS" BASIS,
+REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+REM See the License for the specific language governing permissions and
+REM limitations under the License.
+REM -------------------------------------------------------------------------
+call jaxb2.bat POReadAllJaxb2 filename 1
+call jaxb2.bat POReadAllJaxb2 filename 2
+call jaxb2.bat POReadAllJaxb2 filename 3
+call jaxb2.bat POReadAllJaxb2 filename 4
+call jaxb2.bat POReadAllJaxb2 filename 5
+call jaxb2.bat POReadAllJaxb2 filename 6
+call jaxb2.bat POReadAllJaxb2 filename 7
+call jaxb2.bat POReadOneJaxb2 filename 1
+call jaxb2.bat POReadOneJaxb2 filename 2
+call jaxb2.bat POReadOneJaxb2 filename 3
+call jaxb2.bat POReadOneJaxb2 filename 4
+call jaxb2.bat POReadOneJaxb2 filename 5
+call jaxb2.bat POReadOneJaxb2 filename 6
+call jaxb2.bat POReadOneJaxb2 filename 7
+call jaxb2.bat POGetCustNameJaxb2 filename 1
+call jaxb2.bat POGetCustNameJaxb2 filename 2
+call jaxb2.bat POGetCustNameJaxb2 filename 3
+call jaxb2.bat POGetCustNameJaxb2 filename 4
+call jaxb2.bat POGetCustNameJaxb2 filename 5
+call jaxb2.bat POGetCustNameJaxb2 filename 6
+call jaxb2.bat POGetCustNameJaxb2 filename 7
+call jaxb2.bat POGetSetGetCustNameJaxb2 filename 1
+call jaxb2.bat POGetSetGetCustNameJaxb2 filename 2
+call jaxb2.bat POGetSetGetCustNameJaxb2 filename 3
+call jaxb2.bat POGetSetGetCustNameJaxb2 filename 4
+call jaxb2.bat POGetSetGetCustNameJaxb2 filename 5
+call jaxb2.bat POGetSetGetCustNameJaxb2 filename 6
+call jaxb2.bat POGetSetGetCustNameJaxb2 filename 7
+call jaxb2.bat POTopDownJaxb2
+call jaxb2.bat POTopDownSaveJaxb2
+call jaxb2.bat PrimTopDownJaxb2
+call jaxb2.bat NPrimTopDownJaxb2
Modified: xmlbeans/trunk/test/perf/bin/svn.bat
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/perf/bin/svn.bat?rev=279672&r1=279671&r2=279672&view=diff
==============================================================================
--- xmlbeans/trunk/test/perf/bin/svn.bat (original)
+++ xmlbeans/trunk/test/perf/bin/svn.bat Thu Sep 8 16:18:37 2005
@@ -57,4 +57,4 @@
:end
echo on
-java -Xmx%MEM%m -classpath %XMLBEANS_PERFROOT%\build;%XMLBEANS_PERFROOT%\schema_build\svn-purchase-order.jar;%XMLBEANS_PERFROOT%\schema_build\svn-primitives.jar;%XMLBEANS_PERFROOT%\schema_build\svn-non-primitives.jar;%XMLBEANS_HOME%\build\lib\xbean.jar;%XMLBEANS_HOME%\build\lib\jsr173_api.jar;%XMLBEANS_HOME%\build\lib\saxon8.jar;%XMLBEANS_HOME%\build\lib\xbean_xpath.jar;%XMLBEANS_HOME%\external\lib\piccolo_apache_dist_20040629_svn.jar -DPERF_ROOT=%XMLBEANS_PERFROOT% org.apache.xmlbeans.test.performance.svn.%1 %FLAVOR% %FILENAME%
+java -Xmx%MEM%m -classpath %XMLBEANS_PERFROOT%\build;%XMLBEANS_PERFROOT%\schema_build\svn-purchase-order.jar;%XMLBEANS_PERFROOT%\schema_build\svn-primitives.jar;%XMLBEANS_PERFROOT%\schema_build\svn-non-primitives.jar;%XMLBEANS_HOME%\build\lib\xbean.jar;%XMLBEANS_HOME%\build\lib\jsr173_1.0_api.jar;%XMLBEANS_HOME%\build\lib\saxon8.jar;%XMLBEANS_HOME%\build\lib\xbean_xpath.jar;%XMLBEANS_HOME%\external\lib\piccolo_apache_dist_20040629_svn.jar -DPERF_ROOT=%XMLBEANS_PERFROOT% org.apache.xmlbeans.test.performance.svn.%1 %FLAVOR% %FILENAME%
Modified: xmlbeans/trunk/test/perf/bin/v2.bat
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/perf/bin/v2.bat?rev=279672&r1=279671&r2=279672&view=diff
==============================================================================
--- xmlbeans/trunk/test/perf/bin/v2.bat (original)
+++ xmlbeans/trunk/test/perf/bin/v2.bat Thu Sep 8 16:18:37 2005
@@ -73,4 +73,4 @@
:end
echo on
-java -Xmx%MEM%m -classpath %XMLBEANS_PERFROOT%\build;%XMLBEANS_PERFROOT%\schema_build\v2-purchase-order.jar;%XMLBEANS_PERFROOT%\schema_build\v2-primitives.jar;%XMLBEANS_PERFROOT%\schema_build\v2-non-primitives.jar;%XMLBEANS_PERFROOT%\3rdparty\v2\xmlbeans-2.0.0\lib\xbean.jar;%XMLBEANS_HOME%\build\lib\jsr173_api.jar;%XMLBEANS_HOME%\build\lib\saxon8.jar;%XMLBEANS_HOME%\build\lib\xbean_xpath.jar;%XMLBEANS_HOME%\external\lib\piccolo_apache_dist_20040629_v2.jar -DPERF_ROOT=%XMLBEANS_PERFROOT% org.apache.xmlbeans.test.performance.v2.%1 %FLAVOR% %FILENAME%
+java -Xmx%MEM%m -classpath %XMLBEANS_PERFROOT%\build;%XMLBEANS_PERFROOT%\schema_build\v2-purchase-order.jar;%XMLBEANS_PERFROOT%\schema_build\v2-primitives.jar;%XMLBEANS_PERFROOT%\schema_build\v2-non-primitives.jar;%XMLBEANS_PERFROOT%\3rdparty\v2\xmlbeans-2.0.0\lib\xbean.jar;%XMLBEANS_HOME%\build\lib\jsr173_1.0_api.jar;%XMLBEANS_HOME%\build\lib\saxon8.jar;%XMLBEANS_HOME%\build\lib\xbean_xpath.jar;%XMLBEANS_HOME%\external\lib\piccolo_apache_dist_20040629_v2.jar -DPERF_ROOT=%XMLBEANS_PERFROOT% org.apache.xmlbeans.test.performance.v2.%1 %FLAVOR% %FILENAME%
Modified: xmlbeans/trunk/test/perf/build.xml
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/perf/build.xml?rev=279672&r1=279671&r2=279672&view=diff
==============================================================================
--- xmlbeans/trunk/test/perf/build.xml (original)
+++ xmlbeans/trunk/test/perf/build.xml Thu Sep 8 16:18:37 2005
@@ -28,6 +28,7 @@
clean - clean test and tools classes
clean.schema.jars - clean schema jars
+
build.xmlbeans.perf - bootstrap, builds schema jars and tests classes for all XmlBeans releases
Schema Builds:
@@ -36,7 +37,9 @@
v2.schema.jars
castor.schema.jars
jaxb.schema.jars
+ jaxb2.schema.jars
jibx.schema.jars
+ parsers.schema.jars
Perf Builds:
build.tools - perf tools
@@ -45,8 +48,21 @@
build.v2.perf - XMLBeans v2
build.castor.perf
build.jaxb.perf
+ build.jaxb2.perf
build.jibx.perf
build.xerces.perf
+ build.parsers.perf
+
+
+ note:
+ To build any particular version or product (ex.current XmlBeans SVN tree) the following targets need to be run:
+
+ ant bootstrap
+ ant svn.schema.jars
+ ant build.svn.perf
+
+ run run_svn.bat/run_Svn.sh from the bin directory
+
</echo>
</target>
@@ -73,6 +89,7 @@
<property name="xerces.dir" value="${3rdparty.dir}/xerces"/>
<!-- can't download jaxb on the fly, so user has to setup this env var -->
<property name="jaxb.dir" value="${env.JAXB_LIBDIR}"/>
+ <property name="jaxb2.dir" value="${env.JAXB2_LIBDIR}"/>
<!-- temp dirs for schema compilation outputs -->
<property name="v1.temp.dir" value="${temp.dir}/v1" />
@@ -81,6 +98,8 @@
<property name="castor.temp.dir" value="${temp.dir}/castor" />
<property name="jibx.temp.dir" value="${temp.dir}/jibx" />
<property name="jaxb.temp.dir" value="${temp.dir}/jaxb" />
+ <property name="jaxb2.temp.dir" value="${temp.dir}/jaxb2" />
+ <property name="parsers.temp.dir" value="${temp.dir}/parsers" />
<!-- read urls from download.properties file -->
<property file="download.properties" />
@@ -102,6 +121,10 @@
<property name="xercesImpl.jar" value="${xerces.dir}/xerces-2_7_1/xercesImpl.jar"/>
<property name="xerces.zip" value="${xerces.dir}/${xerces.lib.name}"/>
+ <!-- parser test xml instances zip -->
+ <property name="parsers.zip" value="${test.case.dir}/parser_instances.zip" />
+ <property name="parsers-instances.dir" value="${test.case.dir}\xml" />
+
<!-- user-defined schema jars for SOM runtime perf tests -->
<property name="svn-purchase-order.jar" value="${schema.jar.build.dir}/svn-purchase-order.jar"/>
<property name="svn-primitives.jar" value="${schema.jar.build.dir}/svn-primitives.jar"/>
@@ -119,6 +142,13 @@
<property name="jaxb-purchase-order.jar" value="${schema.jar.build.dir}/jaxb-purchase-order.jar"/>
<property name="jaxb-primitives.jar" value="${schema.jar.build.dir}/jaxb-primitives.jar"/>
<property name="jaxb-non-primitives.jar" value="${schema.jar.build.dir}/jaxb-non-primitives.jar"/>
+ <property name="jaxb2-purchase-order.jar" value="${schema.jar.build.dir}/jaxb2-purchase-order.jar"/>
+ <property name="jaxb2-primitives.jar" value="${schema.jar.build.dir}/jaxb2-primitives.jar"/>
+ <property name="jaxb2-non-primitives.jar" value="${schema.jar.build.dir}/jaxb2-non-primitives.jar"/>
+ <property name="parsers-jaxb2-purchase-order.jar" value="${schema.jar.build.dir}/parsers-jaxb2-purchase-order.jar"/>
+ <property name="parsers-svn-purchase-order.jar" value="${schema.jar.build.dir}/parsers-svn-purchase-order.jar"/>
+ <property name="parsers-svn-doc.jar" value="${schema.jar.build.dir}/parsers-svn-doc.jar"/>
+
<!-- util schema jar(s) -->
<property name="perf-results.jar" value="${schema.jar.build.dir}/perf-results.jar"/>
@@ -192,6 +222,28 @@
<pathelement path="${build.dir}"/>
</path>
+ <path id="jaxb2.classpath">
+ <!-- required jars - activation.jar,jaxb-api.jar,jaxb-impl.jar,jsr173_1.0_api.jar -->
+ <fileset dir="${jaxb2.dir}/lib" includes="*.jar"/>
+ <pathelement path="${jaxb2-purchase-order.jar}"/>
+ <pathelement path="${jaxb2-primitives.jar}"/>
+ <pathelement path="${jaxb2-non-primitives.jar}"/>
+ <pathelement path="${build.dir}"/>
+ </path>
+
+ <path id="parsers.classpath">
+ <!-- required jars - activation.jar,jaxb-api.jar,jaxb-impl.jar,jsr173_1.0_api.jar -->
+ <fileset dir="${jaxb2.dir}/lib" includes="*.jar"/>
+
+ <fileset dir="${svn.dir}/build/lib" includes="*.jar"/>
+ <!-- <fileset dir="${svn.dir}/external/lib" includes="*.jar"/> -->
+
+ <pathelement path="${parsers-jaxb2-purchase-order.jar}"/>
+ <pathelement path="${parsers-svn-purchase-order.jar}"/>
+ <pathelement path="${parsers-svn-doc.jar}"/>
+ </path>
+
+
<!-- main build targets -->
<target name="build.all" if="bootstrap.libdir.exists" depends="check.bootstrap.libs,check.xbeanshome,check.xbeansperfroot,build.schema.jars,build"/>
<target name="clean.all" depends="clean.schema.jars,clean"/>
@@ -199,7 +251,7 @@
<!-- conveinence src build targets -->
- <target name="build" depends="build.tools,build.svn.perf,build.v1.perf,build.v2.perf,build.jibx.perf,build.xerces.perf,build.jaxb.perf,build.castor.perf"/>
+ <target name="build" depends="build.tools,build.svn.perf,build.v1.perf,build.v2.perf,build.jibx.perf,build.xerces.perf,build.jaxb.perf,build.jaxb2.perf,build.castor.perf,build.parsers.perf"/>
<target name="clean">
<delete dir="${build.dir}"/>
@@ -211,7 +263,7 @@
<target name="build.xmlbeans.perf" depends="check.xbeanshome,check.xbeansperfroot,xmlbeans.bootstrap,v1.schema.jars, v2.schema.jars,svn.schema.jars, build.tools, build.svn.perf,build.v1.perf, build.v2.perf" />
<!-- conveinence schema jar build targets -->
- <target name="build.schema.jars" depends="svn.schema.jars,v1.schema.jars,v2.schema.jars,jibx.schema.jars,castor.schema.jars,jaxb.schema.jars"/>
+ <target name="build.schema.jars" depends="svn.schema.jars,v1.schema.jars,v2.schema.jars,jibx.schema.jars,castor.schema.jars,jaxb.schema.jars,jaxb2.schema.jars,parsers.schema.jars"/>
<target name="clean.schema.jars">
<delete dir="${schema.jar.build.dir}"/>
@@ -237,16 +289,16 @@
<get src="${v1.url}" dest="${v1.zip}" verbose="true" usetimestamp="true"/>
<unzip src="${v1.zip}" dest="${v1.dir}"/>
- <mkdir dir="${v2.dir}"/>
- <get src="${v2.url}" dest="${v2.zip}" verbose="true" usetimestamp="true"/>
- <unzip src="${v2.zip}" dest="${v2.dir}"/>
+ <mkdir dir="${v2.dir}"/>
+ <get src="${v2.url}" dest="${v2.zip}" verbose="true" usetimestamp="true"/>
+ <unzip src="${v2.zip}" dest="${v2.dir}"/>
<mkdir dir="${xerces.dir}"/>
<get src="${xerces.url}" dest="${xerces.zip}" verbose="true" usetimestamp="true"/>
<unzip src="${xerces.zip}" dest="${xerces.dir}"/>
<antcall target="check.jaxb.libdir" />
-
+ <antcall target="check.jaxb2.libdir" />
</target>
<!-- added - bootstrap only for XmlBeans versions -->
@@ -260,15 +312,10 @@
<unzip src="${v2.zip}" dest="${v2.dir}"/>
</target>
- <target name="jaxb.bootstrap">
- <echo message="FOR JAXB SETUP, DOWNLOAD AND INSTALL WSDP 1.6 IN [dir] (for ex c:\Sun\jwsdp-1.6)"/>
- <echo message="THEN SET JAXB_LIBDIR IN YOUR ENVIRONMENT TO POINT TO [dir]"/>
- <!-- All the required JAXB jars listed for reference
- <echo message="activation.jar,commons-beanutils.jar,commons-collections.jar,commons-digester.jar
- commons-logging.jar jaas.jar jax-qname.jar jaxb-api.jar jaxb-impl.jar jaxb-libs.jar jaxb-xjc.jar
- jta-spec1_0_1.jar mail.jar namespace.jar relaxngDatatype.jar xsdlib.jar endorsed/dom.jar
- endorsed/sax.jar endorsed/xalan.jar endorsed/xercesImpl.jar endorsed/xsltc.jar "/>
- -->
+ <target name="parsers.bootstrap">
+ <echo message="Extracting xml instance files for parser tests"/>
+ <unzip src="${parsers.zip}" dest="${parsers-instances.dir}"/>
+
</target>
<target name="build.tools">
@@ -377,6 +424,22 @@
</javac>
</target>
+ <target name="build.jaxb2.perf" if="jaxb2.libdir.exists" depends="check.jaxb2.libdir">
+ <mkdir dir="${build.dir}"/>
+ <javac srcdir="${src.dir}"
+ destdir="${build.dir}"
+ debug="on"
+ fork="yes"
+ memoryMaximumSize="1000M"
+ compiler="modern"
+ executable="${env.JAVA_HOME}/bin/javac"
+ classpathref="jaxb2.classpath"
+ includes="org/apache/xmlbeans/test/performance/jaxb2/**,org/apache/xmlbeans/test/performance/utils/**"
+ source="1.5">
+ </javac>
+ </target>
+
+
<target name="build.xerces.perf">
<mkdir dir="${build.dir}"/>
<javac srcdir="${src.dir}"
@@ -392,6 +455,22 @@
</javac>
</target>
+ <target name="build.parsers.perf" if="jaxb2.libdir.exists" depends="check.jaxb2.libdir">
+ <mkdir dir="${build.dir}"/>
+ <javac srcdir="${src.dir}"
+ destdir="${build.dir}"
+ debug="on"
+ fork="yes"
+ memoryMaximumSize="1000M"
+ compiler="modern"
+ executable="${env.JAVA_HOME}/bin/javac"
+ classpathref="parsers.classpath"
+ includes="org/apache/xmlbeans/test/performance/parsers/**,org/apache/xmlbeans/test/performance/utils/**"
+ source="1.5">
+ </javac>
+ </target>
+
+
<!-- specific schema compile targets -->
<target name="os.init">
<condition property="scomp" value="${svn.xmlbeans.root}\bin\scomp.cmd">
@@ -427,6 +506,8 @@
<target name="svn.schema.build" depends="os.init">
<echo message="starting schema compilation with XmlBeans SVN "/>
<echo message="Schema source file : ${test.case.dir}/xsd/${xsd.name}"/>
+
+ <delete dir="${svn.temp.dir}" />
<mkdir dir="${svn.temp.dir}"/>
<mkdir dir="${schema.jar.build.dir}"/>
@@ -476,6 +557,7 @@
<echo message="starting schema compilation with XmlBeans v1"/>
<echo message="Schema source file : ${test.case.dir}/xsd/${xsd.name}"/>
+ <delete dir="${v1.temp.dir}" />
<mkdir dir="${v1.temp.dir}"/>
<mkdir dir="${schema.jar.build.dir}"/>
<java classname="org.apache.xmlbeans.impl.tool.SchemaCompiler"
@@ -503,12 +585,14 @@
<param name="xsd.name" value="non-primitives.xsd"/>
<param name="jar.name" value="v2-non-primitives.jar"/>
</antcall>
+
</target>
<target name="v2.schema.build" depends="os.init">
<echo message="starting schema compilation with XmlBeans v2"/>
<echo message="Schema source file : ${test.case.dir}/xsd/${xsd.name}"/>
+ <delete dir="${v2.temp.dir}" />
<mkdir dir="${v2.temp.dir}"/>
<mkdir dir="${schema.jar.build.dir}"/>
<java classname="org.apache.xmlbeans.impl.tool.SchemaCompiler"
@@ -543,6 +627,8 @@
<target name="castor.schema.build">
<echo message="starting schema compilation with Castor"/>
+
+ <delete dir="${castor.temp.dir}" />
<mkdir dir="${castor.temp.dir}"/>
<mkdir dir="${schema.jar.build.dir}"/>
<java classname="org.exolab.castor.builder.SourceGenerator"
@@ -626,6 +712,7 @@
<target name="jaxb.schema.build">
<echo message="starting schema compilation with jaxb"/>
+ <delete dir="${jaxb.temp.dir}" />
<mkdir dir="${jaxb.temp.dir}"/>
<mkdir dir="${schema.jar.build.dir}"/>
<java classname="com.sun.tools.xjc.Driver"
@@ -649,6 +736,143 @@
<jar destfile="${schema.jar.build.dir}/${jar.name}"
basedir="${jaxb.temp.dir}"/>
</target>
+
+
+ <!-- jaxb2 -->
+ <target name="jaxb2.schema.jars" if="jaxb2.libdir.exists" depends="check.jaxb2.libdir">
+ <antcall target="jaxb2.schema.build">
+ <param name="xsd.name" value="purchase-order.xsd"/>
+ <param name="jar.name" value="jaxb2-purchase-order.jar"/>
+ <param name="ns" value="org.openuri.easypo.jaxb2"/>
+ </antcall>
+ <antcall target="jaxb2.schema.build">
+ <param name="xsd.name" value="primitives.xsd"/>
+ <param name="jar.name" value="jaxb2-primitives.jar"/>
+ <param name="ns" value="org.openuri.primitives.jaxb2"/>
+ </antcall>
+ <antcall target="jaxb2.schema.build">
+ <param name="xsd.name" value="non-primitives.xsd"/>
+ <param name="jar.name" value="jaxb2-non-primitives.jar"/>
+ <param name="ns" value="org.openuri.nonprimitives.jaxb2"/>
+ </antcall>
+ </target>
+
+
+ <target name="check.jaxb2.libdir">
+ <available property="jaxb2.libdir.exists"
+ file="${jaxb2.dir}" type="dir" />
+ <fail message="JAXB2 installaton directory ${jaxb2.dir} not found! FOR JAXB SETUP, DOWNLOAD JAXB2 RI from https://jaxb.dev.java.net/servlets/ProjectDocumentList?folderID=3074&expandFolder=3074&folderID=3074 IN [dir] (for ex c:\Sun\jaxb-ri-20050829) AND SET JAXB_LIBDIR IN YOUR ENVIRONMENT TO POINT TO [dir]." unless="jaxb2.libdir.exists" />
+ </target>
+
+
+ <target name="jaxb2.schema.build">
+ <echo message="starting schema compilation with jaxb2"/>
+
+ <delete dir="${jaxb2.temp.dir}" />
+ <mkdir dir="${jaxb2.temp.dir}"/>
+ <mkdir dir="${schema.jar.build.dir}"/>
+
+ <!-- define the xjc task here -->
+ <taskdef name="xjc" classname="com.sun.tools.xjc.XJCTask">
+ <classpath>
+ <fileset dir="${jaxb2.dir}/lib" includes="*.jar"/>
+ </classpath>
+ </taskdef>
+
+ <xjc schema="${test.case.dir}/xsd/${xsd.name}" target="${jaxb2.temp.dir}" package="${ns}"/>
+
+ <javac srcdir="${jaxb2.temp.dir}"
+ destdir="${jaxb2.temp.dir}"
+ debug="on"
+ fork="yes"
+ memoryMaximumSize="1000M"
+ compiler="modern"
+ executable="${env.JAVA_HOME}/bin/javac"
+ classpathref="jaxb2.classpath"
+ source="1.5">
+ </javac>
+ <jar destfile="${schema.jar.build.dir}/${jar.name}"
+ basedir="${jaxb2.temp.dir}"/>
+ </target>
+
+
+ <!-- parser tests -->
+ <target name="parsers.schema.jars" if="jaxb2.libdir.exists" depends="check.jaxb2.libdir, parsers.bootstrap">
+
+ <delete dir="${parsers.temp.dir}" />
+ <mkdir dir="${parsers.temp.dir}"/>
+ <mkdir dir="${schema.jar.build.dir}"/>
+
+
+ <antcall target="parsers.jaxb2.schema.build">
+ <param name="xsd.name" value="purchase-order.xsd"/>
+ <param name="jar.name" value="parsers-jaxb2-purchase-order.jar"/>
+ <param name="ns" value="perf.po"/>
+ </antcall>
+ <antcall target="parsers.svn.schema.build">
+ <param name="xsd.name" value="purchase-order.xsd"/>
+ <param name="jar.name" value="parsers-svn-purchase-order.jar"/>
+ <param name="ns" value="org.openuri.easypo"/>
+ </antcall>
+
+ <antcall target="parsers.svn.schema.build">
+ <param name="xsd.name" value="doc.xsd"/>
+ <param name="jar.name" value="parsers-svn-doc.jar"/>
+ </antcall>
+ </target>
+
+
+ <!-- add specific build targets for jaxb2 and svn - jars with new names and new temp directories -->
+ <target name="parsers.jaxb2.schema.build">
+ <echo message="starting schema compilation with jaxb2"/>
+
+
+ <!-- define the xjc task here -->
+ <taskdef name="xjc" classname="com.sun.tools.xjc.XJCTask">
+ <classpath>
+ <fileset dir="${jaxb2.dir}/lib" includes="*.jar"/>
+ </classpath>
+ </taskdef>
+
+ <xjc schema="${test.case.dir}/xsd/${xsd.name}" target="${parsers.temp.dir}" package="${ns}"/>
+
+ <javac srcdir="${parsers.temp.dir}"
+ destdir="${parsers.temp.dir}"
+ debug="on"
+ fork="yes"
+ memoryMaximumSize="1000M"
+ compiler="modern"
+ executable="${env.JAVA_HOME}/bin/javac"
+ classpathref="jaxb2.classpath"
+ source="1.5">
+ </javac>
+ <jar destfile="${schema.jar.build.dir}/${jar.name}"
+ basedir="${parsers.temp.dir}"/>
+ </target>
+
+ <target name="parsers.svn.schema.build" depends="os.init">
+ <echo message="starting schema compilation with XmlBeans SVN "/>
+ <echo message="Schema source file : ${test.case.dir}/xsd/${xsd.name}"/>
+
+ <delete dir="${parsers.temp.dir}" />
+ <mkdir dir="${parsers.temp.dir}"/>
+ <mkdir dir="${schema.jar.build.dir}"/>
+
+ <java classname="org.apache.xmlbeans.impl.tool.SchemaCompiler"
+ fork="true"
+ dir="${xmlbeans.perf.root}"
+ classpathref="svn.classpath">
+ <arg line="-out ${parsers.temp.dir}/${jar.name}"/>
+ <arg line="${test.case.dir}/xsd/${xsd.name}"/>
+ </java>
+
+ <copy file="${parsers.temp.dir}/${jar.name}" todir="${schema.jar.build.dir}"/>
+ <echo message="Schema comp output jar file : ${schema.jar.build.dir}/${jar.name}"/>
+ <echo message="Schema comp output file : ${parsers.temp.dir}/scomp_output.txt"/>
+ <echo message="done"/>
+ </target>
+
+
<!-- utility targets -->
Added: xmlbeans/trunk/test/perf/cases/parser_instances.zip
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/perf/cases/parser_instances.zip?rev=279672&view=auto
==============================================================================
Binary file - no diff available.
Propchange: xmlbeans/trunk/test/perf/cases/parser_instances.zip
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: xmlbeans/trunk/test/perf/cases/xsd/doc.xsd
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/perf/cases/xsd/doc.xsd?rev=279672&view=auto
==============================================================================
--- xmlbeans/trunk/test/perf/cases/xsd/doc.xsd (added)
+++ xmlbeans/trunk/test/perf/cases/xsd/doc.xsd Thu Sep 8 16:18:37 2005
@@ -0,0 +1,29 @@
+<!--
+ Copyright 2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'
+ xmlns:tns='foo'
+ targetNamespace='foo'
+ elementFormDefault='qualified'>
+ <xs:element name='root'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name='intVal' type='xs:int' />
+ <xs:element name='stringVal' type='xs:string' />
+ <xs:element name='shortVal' type='xs:short' minOccurs='0' maxOccurs='unbounded'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
Modified: xmlbeans/trunk/test/perf/cases/xsd/non-primitives.xsd
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/perf/cases/xsd/non-primitives.xsd?rev=279672&r1=279671&r2=279672&view=diff
==============================================================================
--- xmlbeans/trunk/test/perf/cases/xsd/non-primitives.xsd (original)
+++ xmlbeans/trunk/test/perf/cases/xsd/non-primitives.xsd Thu Sep 8 16:18:37 2005
@@ -1,24 +1,39 @@
-<xs:schema targetNamespace="http://openuri.org/nonprimitives"
- xmlns:nonpri="http://openuri.org/nonprimitives"
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
- elementFormDefault="qualified">
- <xs:element name="non-primitives">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="numerics" type="nonpri:numerics" maxOccurs="unbounded"/>
- <xs:element name="mydate" type="xs:date"/>
- <xs:element name="mystring" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="numerics">
- <xs:sequence>
- <xs:element name="mydecimal" type="xs:decimal"/>
- <xs:element name="myinteger" type="xs:integer"/>
- <xs:element name="myneginteger" type="xs:negativeInteger"/>
- <xs:element name="mynonneginteger" type="xs:nonNegativeInteger"/>
- <xs:element name="mynonposinteger" type="xs:nonPositiveInteger"/>
- <xs:element name="myposinteger" type="xs:positiveInteger"/>
- </xs:sequence>
- </xs:complexType>
-</xs:schema>
+<!--
+ Copyright 2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<xs:schema targetNamespace="http://openuri.org/nonprimitives"
+ xmlns:nonpri="http://openuri.org/nonprimitives"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified">
+ <xs:element name="non-primitives">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="numerics" type="nonpri:numerics" maxOccurs="unbounded"/>
+ <xs:element name="mydate" type="xs:date"/>
+ <xs:element name="mystring" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:complexType name="numerics">
+ <xs:sequence>
+ <xs:element name="mydecimal" type="xs:decimal"/>
+ <xs:element name="myinteger" type="xs:integer"/>
+ <xs:element name="myneginteger" type="xs:negativeInteger"/>
+ <xs:element name="mynonneginteger" type="xs:nonNegativeInteger"/>
+ <xs:element name="mynonposinteger" type="xs:nonPositiveInteger"/>
+ <xs:element name="myposinteger" type="xs:positiveInteger"/>
+ </xs:sequence>
+ </xs:complexType>
+</xs:schema>
Modified: xmlbeans/trunk/test/perf/cases/xsd/perf-results.xsd
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/perf/cases/xsd/perf-results.xsd?rev=279672&r1=279671&r2=279672&view=diff
==============================================================================
--- xmlbeans/trunk/test/perf/cases/xsd/perf-results.xsd (original)
+++ xmlbeans/trunk/test/perf/cases/xsd/perf-results.xsd Thu Sep 8 16:18:37 2005
@@ -1,44 +1,59 @@
-<xs:schema targetNamespace="http://openuri.org/perf"
- xmlns:perf="http://openuri.org/perf"
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
- elementFormDefault="qualified">
-
- <xs:element name="result-set">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="environment" type="perf:environment" maxOccurs="1"/>
- <xs:element name="result" type="perf:result" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
-
- <xs:complexType name="result">
- <xs:sequence>
- <xs:element name="id" type="xs:long"/>
- <xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="time" type="xs:long" minOccurs="0" maxOccurs="1"/>
- <xs:element name="memory" type="xs:long" minOccurs="0" maxOccurs="1"/>
- <xs:element name="hash" type="xs:int" maxOccurs="1"/>
- <xs:element name="note" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="custom" type="perf:custom" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="custom">
- <xs:sequence>
- <xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="value" type="xs:string" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="environment">
- <xs:sequence>
- <xs:element name="hostname" type="xs:string"/>
- <xs:element name="os" type="xs:string"/>
- <xs:element name="jvm" type="xs:string"/>
- <xs:element name="date" type="xs:dateTime"/>
- <xs:element name="note" type="xs:string" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
-</xs:schema>
+<!--
+ Copyright 2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<xs:schema targetNamespace="http://openuri.org/perf"
+ xmlns:perf="http://openuri.org/perf"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified">
+
+ <xs:element name="result-set">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="environment" type="perf:environment" maxOccurs="1"/>
+ <xs:element name="result" type="perf:result" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:complexType name="result">
+ <xs:sequence>
+ <xs:element name="id" type="xs:long"/>
+ <xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1"/>
+ <xs:element name="time" type="xs:long" minOccurs="0" maxOccurs="1"/>
+ <xs:element name="memory" type="xs:long" minOccurs="0" maxOccurs="1"/>
+ <xs:element name="hash" type="xs:int" maxOccurs="1"/>
+ <xs:element name="note" type="xs:string" minOccurs="0" maxOccurs="1"/>
+ <xs:element name="custom" type="perf:custom" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="custom">
+ <xs:sequence>
+ <xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1"/>
+ <xs:element name="value" type="xs:string" minOccurs="1" maxOccurs="1"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="environment">
+ <xs:sequence>
+ <xs:element name="hostname" type="xs:string"/>
+ <xs:element name="os" type="xs:string"/>
+ <xs:element name="jvm" type="xs:string"/>
+ <xs:element name="date" type="xs:dateTime"/>
+ <xs:element name="note" type="xs:string" minOccurs="0" maxOccurs="1"/>
+ </xs:sequence>
+ </xs:complexType>
+
+</xs:schema>
Modified: xmlbeans/trunk/test/perf/cases/xsd/primitives.xsd
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/perf/cases/xsd/primitives.xsd?rev=279672&r1=279671&r2=279672&view=diff
==============================================================================
--- xmlbeans/trunk/test/perf/cases/xsd/primitives.xsd (original)
+++ xmlbeans/trunk/test/perf/cases/xsd/primitives.xsd Thu Sep 8 16:18:37 2005
@@ -1,29 +1,44 @@
-<xs:schema targetNamespace="http://openuri.org/primitives"
- xmlns:pri="http://openuri.org/primitives"
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
- elementFormDefault="qualified">
- <xs:element name="primitives">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="numerics" type="pri:numerics" maxOccurs="unbounded"/>
- <xs:element name="misc" type="pri:misc"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="numerics">
- <xs:sequence>
- <xs:element name="mybyte" type="xs:byte"/>
- <xs:element name="myint" type="xs:int"/>
- <xs:element name="mylong" type="xs:long"/>
- <xs:element name="myshort" type="xs:short"/>
- <xs:element name="myhexbin" type="xs:hexBinary"/>
- <xs:element name="mydouble" type="xs:double"/>
- <xs:element name="myfloat" type="xs:float"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="misc">
- <xs:sequence>
- <xs:element name="mybool" type="xs:boolean"/>
- </xs:sequence>
- </xs:complexType>
-</xs:schema>
+<!--
+ Copyright 2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<xs:schema targetNamespace="http://openuri.org/primitives"
+ xmlns:pri="http://openuri.org/primitives"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified">
+ <xs:element name="primitives">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="numerics" type="pri:numerics" maxOccurs="unbounded"/>
+ <xs:element name="misc" type="pri:misc"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:complexType name="numerics">
+ <xs:sequence>
+ <xs:element name="mybyte" type="xs:byte"/>
+ <xs:element name="myint" type="xs:int"/>
+ <xs:element name="mylong" type="xs:long"/>
+ <xs:element name="myshort" type="xs:short"/>
+ <xs:element name="myhexbin" type="xs:hexBinary"/>
+ <xs:element name="mydouble" type="xs:double"/>
+ <xs:element name="myfloat" type="xs:float"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="misc">
+ <xs:sequence>
+ <xs:element name="mybool" type="xs:boolean"/>
+ </xs:sequence>
+ </xs:complexType>
+</xs:schema>
Modified: xmlbeans/trunk/test/perf/cases/xsd/purchase-order-1.xml
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/perf/cases/xsd/purchase-order-1.xml?rev=279672&r1=279671&r2=279672&view=diff
==============================================================================
--- xmlbeans/trunk/test/perf/cases/xsd/purchase-order-1.xml (original)
+++ xmlbeans/trunk/test/perf/cases/xsd/purchase-order-1.xml Thu Sep 8 16:18:37 2005
@@ -1,23 +1,38 @@
-<po:purchase-order xmlns:po="http://openuri.org/easypo">
- <po:customer>
- <po:name>Gladys Kravitz</po:name>
- <po:address>Anytown, PA</po:address>
- </po:customer>
- <po:date>2003-01-07T14: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:shipper>
- <po:name>ZipShip</po:name>
- <po:per-ounce-rate>0.74</po:per-ounce-rate>
- </po:shipper>
-</po:purchase-order>
+<!--
+ Copyright 2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<po:purchase-order xmlns:po="http://openuri.org/easypo">
+ <po:customer>
+ <po:name>Gladys Kravitz</po:name>
+ <po:address>Anytown, PA</po:address>
+ </po:customer>
+ <po:date>2003-01-07T14: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:shipper>
+ <po:name>ZipShip</po:name>
+ <po:per-ounce-rate>0.74</po:per-ounce-rate>
+ </po:shipper>
+</po:purchase-order>
Modified: xmlbeans/trunk/test/perf/cases/xsd/purchase-order-2.xml
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/perf/cases/xsd/purchase-order-2.xml?rev=279672&r1=279671&r2=279672&view=diff
==============================================================================
--- xmlbeans/trunk/test/perf/cases/xsd/purchase-order-2.xml (original)
+++ xmlbeans/trunk/test/perf/cases/xsd/purchase-order-2.xml Thu Sep 8 16:18:37 2005
@@ -1,383 +1,398 @@
-<po:purchase-order xmlns:po="http://openuri.org/easypo">
- <po:customer>
- <po:name>Gladys Kravitz</po:name>
- <po:address>Anytown, PA</po:address>
- </po:customer>
- <po:date>2003-01-07T14: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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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:shipper>
- <po:name>ZipShip</po:name>
- <po:per-ounce-rate>0.74</po:per-ounce-rate>
- </po:shipper>
-</po:purchase-order>
+<!--
+ Copyright 2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<po:purchase-order xmlns:po="http://openuri.org/easypo">
+ <po:customer>
+ <po:name>Gladys Kravitz</po:name>
+ <po:address>Anytown, PA</po:address>
+ </po:customer>
+ <po:date>2003-01-07T14: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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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:shipper>
+ <po:name>ZipShip</po:name>
+ <po:per-ounce-rate>0.74</po:per-ounce-rate>
+ </po:shipper>
+</po:purchase-order>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: commits-help@xmlbeans.apache.org