summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rwxr-xr-xcheck-xml-test-suite.py17
-rwxr-xr-xchvalid.c6
-rwxr-xr-xchvalid.def2
-rw-r--r--configure.in2
-rw-r--r--doc/libxml2-api.xml1
-rwxr-xr-xgenChRanges.py4
-rw-r--r--include/libxml/chvalid.h2
8 files changed, 23 insertions, 20 deletions
diff --git a/ChangeLog b/ChangeLog
index 8ee63166..43beb48b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+Sat Oct 11 22:54:13 CEST 2003 Daniel Veillard <daniel@veillard.com>
+
+ * check-xml-test-suite.py: removed some annoying warnings
+ * chvalid.def chvalid.c include/libxml/chvalid.h: fixed a bug
+ in the PubidChars definition, regenerated, there is still
+ a bug left somewhere
+ * genChRanges.py: save the header directly in include/libxml/
+ * configure.in: I generated a 2.6.0beta6 earlier today
+
Sat Oct 11 23:32:47 HKT 2003 William Brack <wbrack@mmm.com.hk>
* fixed small error on previous commit (chvalid.h in
diff --git a/check-xml-test-suite.py b/check-xml-test-suite.py
index 23b0706d..ed0eaa20 100755
--- a/check-xml-test-suite.py
+++ b/check-xml-test-suite.py
@@ -6,6 +6,11 @@ import string
sys.path.append("python")
import libxml2
+test_nr = 0
+test_succeed = 0
+test_failed = 0
+test_error = 0
+
#
# the testsuite description
#
@@ -279,15 +284,10 @@ def testValid(filename, id):
doc.freeDoc()
return 1
-test_nr = 0
-test_succeed = 0
-test_failed = 0
-test_error = 0
def runTest(test):
global test_nr
- global test_failed
- global test_error
global test_succeed
+ global test_failed
global error_msg
global log
@@ -391,11 +391,6 @@ start = time.time()
case = testsuite.children
while case != None:
- global test_nr
- global test_succeed
- global test_failed
- global test_error
-
if case.name == 'TESTCASES':
old_test_nr = test_nr
old_test_succeed = test_succeed
diff --git a/chvalid.c b/chvalid.c
index ef64f76b..47c2d4ec 100755
--- a/chvalid.c
+++ b/chvalid.c
@@ -5,7 +5,7 @@
* This file is automatically generated from the cvs source
* definition files using the genChRanges.py Python script
*
- * Generation date: Sat Oct 11 23:54:34 2003
+ * Generation date: Sat Oct 11 22:34:08 2003
* Sources: chvalid.def
* William Brack <wbrack@mmm.com.hk>
*/
@@ -24,11 +24,11 @@ unsigned char xmlIsPubidChar_tab[256] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00,
0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x00, 0x01,
- 0x01, 0x01, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
+ 0x01, 0x01, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x00, 0x01, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
- 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x01, 0x00, 0x00, 0x01,
+ 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01,
0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
diff --git a/chvalid.def b/chvalid.def
index eed7ab5f..1aab420a 100755
--- a/chvalid.def
+++ b/chvalid.def
@@ -7,7 +7,7 @@ end xmlIsChar
name xmlIsPubidChar
ur 0x20 0x0d 0x0a 'a'..'z' 'A'..'Z' '0'..'9'
-ur '-' '\' '(' ')' '+' ',' '.' '/'
+ur '-' 0x27 '(' ')' '+' ',' '.' '/'
ur ':' '=' '?' ';' '!' '*' '#' '@'
ur '$' '_' '%'
end
diff --git a/configure.in b/configure.in
index 23b29622..c8483ff4 100644
--- a/configure.in
+++ b/configure.in
@@ -7,7 +7,7 @@ AC_CANONICAL_HOST
LIBXML_MAJOR_VERSION=2
LIBXML_MINOR_VERSION=6
LIBXML_MICRO_VERSION=0
-LIBXML_MICRO_VERSION_SUFFIX=beta5
+LIBXML_MICRO_VERSION_SUFFIX=beta6
LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION$LIBXML_MICRO_VERSION_SUFFIX
LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML_MICRO_VERSION:$LIBXML_MINOR_VERSION
diff --git a/doc/libxml2-api.xml b/doc/libxml2-api.xml
index a67dfb8b..4cfee68b 100644
--- a/doc/libxml2-api.xml
+++ b/doc/libxml2-api.xml
@@ -4796,7 +4796,6 @@ actually an xmlCharEncoding'/>
<field name='state' type='xmlAutomataStatePtr' info=' used to build the automata'/>
<field name='am' type='void *' info=''/>
<field name='state' type='void *' info=''/>
- <field name='serror' type='xmlStructuredErrorFunc' info=' structured error reporting capability'/>
</struct>
<typedef name='xmlValidCtxtPtr' file='valid' type='xmlValidCtxt *'/>
<struct name='xmlValidState' file='valid' type='struct _xmlValidState'/>
diff --git a/genChRanges.py b/genChRanges.py
index 81247bf5..8ff470e4 100755
--- a/genChRanges.py
+++ b/genChRanges.py
@@ -201,9 +201,9 @@ for line in defines.readlines():
# Generate the headings:
#
try:
- header = open("chvalid.h", "w")
+ header = open("include/libxml/chvalid.h", "w")
except:
- print "Failed to open chvalid.h"
+ print "Failed to open include/libxml/chvalid.h"
sys.exit(1)
try:
diff --git a/include/libxml/chvalid.h b/include/libxml/chvalid.h
index e4140cf0..975a8f86 100644
--- a/include/libxml/chvalid.h
+++ b/include/libxml/chvalid.h
@@ -5,7 +5,7 @@
* This file is automatically generated from the cvs source
* definition files using the genChRanges.py Python script
*
- * Generation date: Sat Oct 11 23:30:43 2003
+ * Generation date: Sat Oct 11 22:34:08 2003
* Sources: chvalid.def
* William Brack <wbrack@mmm.com.hk>
*/