1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 12:25:09 +03:00

removed some annoying warnings fixed a bug in the PubidChars definition,

* 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
Daniel
This commit is contained in:
Daniel Veillard 2003-10-11 20:58:06 +00:00
parent 6819a4e3e8
commit 1a99396b18
8 changed files with 23 additions and 20 deletions

View File

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

View File

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

View File

@ -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,

View File

@ -7,7 +7,7 @@ end xmlIsChar
name xmlIsPubidChar
ur 0x20 0x0d 0x0a 'a'..'z' 'A'..'Z' '0'..'9'
ur '-' '\' '(' ')' '+' ',' '.' '/'
ur '-' 0x27 '(' ')' '+' ',' '.' '/'
ur ':' '=' '?' ';' '!' '*' '#' '@'
ur '$' '_' '%'
end

View File

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

View File

@ -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'/>

View File

@ -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:

View File

@ -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>
*/