CVS Update: xmlpull-api-v1/src/java/api/org/xmlpull/v1
Aleksander Andrzej Slominski <[email protected]>
| Newsgroups | gmane.text.xml.xmlpull.devel |
|---|---|
| Message-ID | <[email protected]> |
aslom 02/08/23 16:29:50
Modified: . build.xml
src/java/api/org/xmlpull/v1 XmlPullParser.java
XmlPullParserException.java
Log:
changed verion ot 1.1.1 developement 1
and modified build.xml to copy XML test togheter with
compiled .class files (so they are included in jar file)
Revision Changes Path
1.19 +10 -2 xmlpull-api-v1/build.xml
Index: build.xml
===================================================================
RCS file: /l/extreme/cvspub/xmlpull-api-v1/build.xml,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -t -w -r1.18 -r1.19
--- build.xml 2002/07/23 14:57:06 1.18
+++ build.xml 2002/08/23 21:29:49 1.19
@@ -11,11 +11,11 @@
<property name="name" value="XMLPULL"/>
<property name="year" value="2002"/>
- <property name="version" value="1_0_9_REV1"/>
+ <property name="version" value="1_1_1_DEV1"/>
<property name="xmlpull_version" value="xmlpull_${version}"/>
<property name="xmlpull_tag" value="XMLPULL_${version}"/>
<property name="copyright"
- value="This XMLPULL V1 API is free, enjoy! <a href='http://www.xmlpull.org/'>http://www.xmlpull.org/</a>" />
+ value="This XmlPull V1 API is free, enjoy! <a href='http://www.xmlpull.org/'>http://www.xmlpull.org/</a>" />
<property name="debug" value="on"/>
<property name="deprecation" value="off"/>
@@ -26,6 +26,7 @@
<property name="src_api" value="${src}/api"/>
<property name="src_tests" value="${src}/tests"/>
+ <property name="src_tests_xml" value="src/xml/tests"/>
<property name="src_samples" value="${src}/samples"/>
<property name="build" value="build"/>
@@ -33,6 +34,7 @@
<property name="build_lib" value="${build}/lib"/>
<property name="build_classes" value="${build}/classes"/>
<property name="build_tests" value="${build}/tests"/>
+ <property name="build_tests_xml" value="${build_tests}/org/xmlpull/v1/tests/xml"/>
<property name="build_samples" value="${build}/samples"/>
<property name="build_apidoc" value="${doc}/api"/>
<property name="build_javadoc" value="${doc}/api_impl"/>
@@ -145,6 +147,12 @@
destdir="${build_tests}">
<classpath refid="test-classpath" />
</javac>
+ <mkdir dir="${build_tests_xml}"/>
+ <copy todir="${build_tests_xml}">
+ <fileset dir="${src_tests_xml}">
+ <include name="**/*.xml"/>
+ </fileset>
+ </copy>
</target>
<target name="tests_jar" unless="build_tests_jar_notRequired" depends="tests_junit">
1.67 +2 -2 xmlpull-api-v1/src/java/api/org/xmlpull/v1/XmlPullParser.java
Index: XmlPullParser.java
===================================================================
RCS file: /l/extreme/cvspub/xmlpull-api-v1/src/java/api/org/xmlpull/v1/XmlPullParser.java,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -b -t -w -r1.66 -r1.67
--- XmlPullParser.java 2002/08/22 17:35:41 1.66
+++ XmlPullParser.java 2002/08/23 21:29:49 1.67
@@ -639,10 +639,10 @@
* characters.
* For IGNORABLE_WHITESPACE, this is always true.
* For TEXT and CDSECT, false is returned when the current event text
- * contains at lease one non-white space character. For any other
+ * contains at least one non-white space character. For any other
* event type an exception is thrown.
*
- * <p><b>Please note:</b> Non-validating parsers are not
+ * <p><b>Please note:</b> non-validating parsers are not
* able to distinguish whitespace and ignorable whitespace,
* except from whitespace outside the root element. Ignorable
* whitespace is reported as separate event, which is exposed
1.12 +1 -0 xmlpull-api-v1/src/java/api/org/xmlpull/v1/XmlPullParserException.java
Index: XmlPullParserException.java
===================================================================
RCS file: /l/extreme/cvspub/xmlpull-api-v1/src/java/api/org/xmlpull/v1/XmlPullParserException.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -t -w -r1.11 -r1.12
--- XmlPullParserException.java 2002/07/25 16:10:51 1.11
+++ XmlPullParserException.java 2002/08/23 21:29:49 1.12
@@ -42,6 +42,7 @@
this.row = parser.getLineNumber();
this.column = parser.getColumnNumber();
}
+ this.detail = chain;
}
public Throwable getDetail() { return detail; }