xmlbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ce...@apache.org
Subject svn commit: r151096 - in xmlbeans/trunk: src/xmlpublic/org/apache/xmlbeans/XmlObject.java test/cases/xbean/xmlcursor/xquery/xmlUseCases/ test/cases/xbean/xmlcursor/xquery/xmlUseCases/catalog.xml test/cases/xbean/xmlcursor/xquery/xmlUseCases/catalog.xsd testbuild.xml
Date Thu, 03 Feb 2005 01:35:52 GMT
Author: cezar
Date: Wed Feb  2 17:35:49 2005
New Revision: 151096

URL: http://svn.apache.org/viewcvs?view=rev&rev=151096
Log:
Contributed by:Yana Kadiyska. Fixing build break

Added:
    xmlbeans/trunk/test/cases/xbean/xmlcursor/xquery/xmlUseCases/
    xmlbeans/trunk/test/cases/xbean/xmlcursor/xquery/xmlUseCases/catalog.xml
    xmlbeans/trunk/test/cases/xbean/xmlcursor/xquery/xmlUseCases/catalog.xsd
Modified:
    xmlbeans/trunk/src/xmlpublic/org/apache/xmlbeans/XmlObject.java
    xmlbeans/trunk/testbuild.xml

Modified: xmlbeans/trunk/src/xmlpublic/org/apache/xmlbeans/XmlObject.java
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/src/xmlpublic/org/apache/xmlbeans/XmlObject.java?view=diff&r1=151095&r2=151096
==============================================================================
--- xmlbeans/trunk/src/xmlpublic/org/apache/xmlbeans/XmlObject.java (original)
+++ xmlbeans/trunk/src/xmlpublic/org/apache/xmlbeans/XmlObject.java Wed Feb  2 17:35:49 2005
@@ -624,7 +624,7 @@
          * </tr>
          * </table> 
          * 
-         * @param s The string to parse.
+         * @param xmlAsString The string to parse.
          * @param options Options as specified.
          * @return A new instance containing the specified XML.
          */ 

Added: xmlbeans/trunk/test/cases/xbean/xmlcursor/xquery/xmlUseCases/catalog.xml
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/cases/xbean/xmlcursor/xquery/xmlUseCases/catalog.xml?view=auto&rev=151096
==============================================================================
--- xmlbeans/trunk/test/cases/xbean/xmlcursor/xquery/xmlUseCases/catalog.xml (added)
+++ xmlbeans/trunk/test/cases/xbean/xmlcursor/xquery/xmlUseCases/catalog.xml Wed Feb  2 17:35:49
2005
@@ -0,0 +1,145 @@
+<XmlQueryUseCases xmlns="xbeans/cases/xmlcursor/xquery/UseCases">
+  <group name="tree">
+    <test>
+      <query file="Q1.xq"/>
+      <output file="Q1_res.txt"/>
+    </test>
+    <test>
+      <query file="Q2.xq"/>
+      <output file="Q2_res.txt"/>
+    </test>
+    <test>
+      <query file="Q3.xq"/>
+      <output file="Q3_res.txt"/>
+    </test>
+    <test>
+      <query file="Q4.xq"/>
+      <output file="Q4_res.txt"/>
+    </test>
+    <test>
+      <query file="Q5.xq"/>
+      <output file="Q5_res.txt"/>
+    </test>
+    <test>
+      <query file="Q6.xq"/>
+      <output file="Q6_res.txt"/>
+    </test>
+  </group>
+  <group name="ns">
+    <test>
+      <query file="Q1.xq"/>
+      <output file="Q1_res.txt"/>
+    </test>
+    <test>
+      <query file="Q2.xq"/>
+      <output file="Q2_res.txt"/>
+    </test>
+    <test>
+      <query file="Q3.xq"/>
+      <output file="Q3_res.txt"/>
+    </test>
+    <test>
+      <query file="Q4.xq"/>
+      <output file="Q4_res.txt"/>
+    </test>
+    <test>
+      <query file="Q5.xq"/>
+      <output file="Q5_res.txt"/>
+    </test>
+    <test>
+      <query file="Q6.xq"/>
+      <output file="Q6_res.txt"/>
+    </test>
+    <test>
+      <query file="Q7.xq"/>
+      <output file="Q7_res.txt"/>
+    </test>
+    <test>
+      <query file="Q8.xq"/>
+      <output file="Q8_res.txt"/>
+    </test>
+  </group>
+  <group name="xmp">
+    <test>
+      <query file="Q1.xq"/>
+      <output file="Q1_res.txt"/>
+    </test>
+    <test>
+      <query file="Q2.xq"/>
+      <output file="Q2_res.txt"/>
+    </test>
+    <test>
+      <query file="Q3.xq"/>
+      <output file="Q3_res.txt"/>
+    </test>
+    <test>
+      <query file="Q4.xq"/>
+      <output file="Q4_res.txt"/>
+    </test>
+    <test>
+      <input file="in_Q5.xml"/>
+      <query file="Q5.xq"/>
+      <output file="Q5_res.txt"/>
+    </test>
+    <test>
+      <query file="Q6.xq"/>
+      <output file="Q6_res.txt"/>
+    </test>
+    <test>
+      <query file="Q7.xq"/>
+      <output file="Q7_res.txt"/>
+    </test>
+    <test>
+      <query file="Q8.xq"/>
+      <output file="Q8_res.txt"/>
+    </test>
+    <test>
+      <input file="in_Q9.xml"/>
+      <query file="Q9.xq"/>
+      <output file="Q9_res.txt"/>
+    </test>
+    <test>
+      <input file="in_Q10.xml"/>
+      <query file="Q10.xq"/>
+      <output file="Q10_res.txt"/>
+    </test>
+    <test>
+      <query file="Q11.xq"/>
+      <output file="Q11_res.txt"/>
+    </test>
+    <test>
+      <query file="Q12.xq"/>
+      <output file="Q12_res.txt"/>
+    </test>
+  </group>
+  <group name="sequence">
+    <test>
+      <query file="Q1.xq"/>
+      <output file="Q1_res.txt"/>
+    </test>
+    <test>
+      <query file="Q2.xq"/>
+      <output file="Q2_res.txt"/>
+    </test>
+    <test>
+      <query file="Q3.xq"/>
+      <output file="Q3_res.txt"/>
+    </test>
+    <test>
+      <query file="Q4.xq"/>
+      <output file="Q4_res.txt"/>
+    </test>
+    <test>
+      <query file="Q5.xq"/>
+      <output file="Q5_res.txt"/>
+    </test>
+    <test>
+      <query file="Q5_1.xq"/>
+      <output file="Q5_res.txt"/>
+    </test>
+    <test>
+      <query file="Q5_2.xq"/>
+      <output file="Q5_2_res.txt"/>
+    </test>
+  </group>
+</XmlQueryUseCases>
\ No newline at end of file

Added: xmlbeans/trunk/test/cases/xbean/xmlcursor/xquery/xmlUseCases/catalog.xsd
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/cases/xbean/xmlcursor/xquery/xmlUseCases/catalog.xsd?view=auto&rev=151096
==============================================================================
--- xmlbeans/trunk/test/cases/xbean/xmlcursor/xquery/xmlUseCases/catalog.xsd (added)
+++ xmlbeans/trunk/test/cases/xbean/xmlcursor/xquery/xmlUseCases/catalog.xsd Wed Feb  2 17:35:49
2005
@@ -0,0 +1,33 @@
+<xs:schema
+  xmlns:xs='http://www.w3.org/2001/XMLSchema'
+  xmlns="xbeans/cases/xmlcursor/xquery/UseCases"
+  targetNamespace="xbeans/cases/xmlcursor/xquery/UseCases"
+  elementFormDefault="qualified"
+  >
+  <xs:element name="XmlQueryUseCases">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element name="group" minOccurs="0" maxOccurs="unbounded">
+          <xs:complexType>
+            <xs:sequence>
+              <xs:element name="test" minOccurs="0" maxOccurs="unbounded">
+                <xs:complexType>
+                  <xs:sequence>
+                    <xs:element name="input" minOccurs="0" type="queryT" maxOccurs="1"/>
+                    <xs:element name="query" minOccurs="1" type="queryT" maxOccurs="1"/>
+                    <xs:element name="output" minOccurs="1" type="queryT" maxOccurs="1"/>
+                  </xs:sequence>
+                </xs:complexType>
+              </xs:element>
+            </xs:sequence>
+            <xs:attribute name="name" type="xs:string"/>
+          </xs:complexType>
+        </xs:element>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+
+  <xs:complexType name="queryT">
+    <xs:attribute name="file" type="xs:string"/>
+  </xs:complexType>
+</xs:schema>
\ No newline at end of file

Modified: xmlbeans/trunk/testbuild.xml
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/testbuild.xml?view=diff&r1=151095&r2=151096
==============================================================================
--- xmlbeans/trunk/testbuild.xml (original)
+++ xmlbeans/trunk/testbuild.xml Wed Feb  2 17:35:49 2005
@@ -276,8 +276,8 @@
             />
       <copy file="${xbeans.test.cases.test.files}/xbean/xmlcursor/xquery/xmlQuery.zip"
           todir="${build.dir.test.lib}"/>
-       <copy file="${xbeans.test.cases.test.files}/xbean/xmlcursor/xquery/useCases.zip"
-          todir="${build.dir.test.lib}"/>
+       <!--copy file="${xbeans.test.cases.test.files}/xbean/xmlcursor/xquery/useCases.zip"
+          todir="${build.dir.test.lib}"/-->
     </target>
 
     <target name="build.xsdcases" description="Builds xmlcases.jar">
@@ -485,10 +485,10 @@
 
                 <antcall target="build.schemas"/>
                 <antcall target="build.tests"/>
-
+		
             </else>
         </if>
-
+	<antcall target="build.xqcases"/>
     </target>
 
     <!-- Bea-xmlbeans has already been built and in the right location -->



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


Mime
View raw message