1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-01-12 09:17:37 +03:00
libxml2/python/tests
David Kilzer cb1b8b8516 xmlValidatePopElement() can return invalid value (-1)
Covered by:  test/VC/ElementValid5

This only affects XML Reader API with LIBXML_REGEXP_ENABLED and
LIBXML_VALID_ENABLED turned on.

* result/VC/ElementValid5.rdr:
- Update result to add missing error message.

* python/tests/reader2.py:
* result/VC/ElementValid6.rdr:
* result/VC/ElementValid7.rdr:
* result/valid/781333.xml.err.rdr:
- Update result to fix grammar issue.

* valid.c:
(xmlValidatePopElement):
- Check return value of xmlRegExecPushString() to handle -1, and
  assign 'ret = 0;' to return 0 from xmlValidatePopElement().
  This change affects xmlTextReaderValidatePop() from
  xmlreader.c.
- Fix grammar of error message by changing 'child' to
  'children'.
2023-04-10 13:21:53 -07:00
..
attribs.py Use python3 not python 2022-12-07 13:21:12 +00:00
build.py Use python3 not python 2022-12-07 13:21:12 +00:00
compareNodes.py Use python3 not python 2022-12-07 13:21:12 +00:00
ctxterror.py Use python3 not python 2022-12-07 13:21:12 +00:00
cutnpaste.py Use python3 not python 2022-12-07 13:21:12 +00:00
dtdvalid.py Use python3 not python 2022-12-07 13:21:12 +00:00
error.py Use python3 not python 2022-12-07 13:21:12 +00:00
inbuf.py Use python3 not python 2022-12-07 13:21:12 +00:00
indexes.py Use python3 not python 2022-12-07 13:21:12 +00:00
input_callback.py Use python3 not python 2022-12-07 13:21:12 +00:00
invalid.xml more accessor classes for the parser context, allow to switch on and check 2002-02-03 16:53:19 +00:00
Makefile.am Fix Python tests on macOS 2022-06-20 01:49:38 +02:00
nsdel.py Use python3 not python 2022-12-07 13:21:12 +00:00
outbuf.py Use python3 not python 2022-12-07 13:21:12 +00:00
push.py Use python3 not python 2022-12-07 13:21:12 +00:00
pushSAX.py Use python3 not python 2022-12-07 13:21:12 +00:00
pushSAXhtml.py Use python3 not python 2022-12-07 13:21:12 +00:00
reader2.py xmlValidatePopElement() can return invalid value (-1) 2023-04-10 13:21:53 -07:00
reader3.py Use python3 not python 2022-12-07 13:21:12 +00:00
reader4.py Use python3 not python 2022-12-07 13:21:12 +00:00
reader5.py Use python3 not python 2022-12-07 13:21:12 +00:00
reader6.py Use python3 not python 2022-12-07 13:21:12 +00:00
reader7.py Use python3 not python 2022-12-07 13:21:12 +00:00
reader8.py Use python3 not python 2022-12-07 13:21:12 +00:00
reader.py Use python3 not python 2022-12-07 13:21:12 +00:00
readererr.py Use python3 not python 2022-12-07 13:21:12 +00:00
readernext.py Use python3 not python 2022-12-07 13:21:12 +00:00
regexp.py Use python3 not python 2022-12-07 13:21:12 +00:00
relaxng.py Use python3 not python 2022-12-07 13:21:12 +00:00
resolver.py Use python3 not python 2022-12-07 13:21:12 +00:00
schema.py Use python3 not python 2022-12-07 13:21:12 +00:00
serialize.py Use python3 not python 2022-12-07 13:21:12 +00:00
sync.py Use python3 not python 2022-12-07 13:21:12 +00:00
test.dtd Applied patch from Brent Hendricks adding support for late DTD validation. 2004-11-10 11:55:47 +00:00
thread2.py Use python3 not python 2022-12-07 13:21:12 +00:00
tst.py Use python3 not python 2022-12-07 13:21:12 +00:00
tst.xml added more informations in the libxml2-python package including docs. 2002-02-02 09:17:16 +00:00
tstLastError.py Use python3 not python 2022-12-07 13:21:12 +00:00
tstmem.py Use python3 not python 2022-12-07 13:21:12 +00:00
tstURI.py Use python3 not python 2022-12-07 13:21:12 +00:00
tstxpath.py Use python3 not python 2022-12-07 13:21:12 +00:00
valid.xml more accessor classes for the parser context, allow to switch on and check 2002-02-03 16:53:19 +00:00
validate.py Use python3 not python 2022-12-07 13:21:12 +00:00
validDTD.py Use python3 not python 2022-12-07 13:21:12 +00:00
validRNG.py Use python3 not python 2022-12-07 13:21:12 +00:00
validSchemas.py Use python3 not python 2022-12-07 13:21:12 +00:00
walker.py Use python3 not python 2022-12-07 13:21:12 +00:00
xpath.py Use python3 not python 2022-12-07 13:21:12 +00:00
xpathext.py Use python3 not python 2022-12-07 13:21:12 +00:00
xpathleak.py Use python3 not python 2022-12-07 13:21:12 +00:00
xpathns.py Use python3 not python 2022-12-07 13:21:12 +00:00
xpathret.py Use python3 not python 2022-12-07 13:21:12 +00:00