1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-20 16:43:05 +03:00

more cleanup in make tests more work in the transition to the new error

* Makefile.am: more cleanup in make tests
* error.c valid.c parser.c include/libxml/xmlerror.h: more work
  in the transition to the new error reporting strategy.
* python/tests/reader2.py  result/VC/* result/valid/*:
  few changes in the strings generated by the validation output
Daniel
This commit is contained in:
Daniel Veillard
2003-10-03 22:21:51 +00:00
parent 2b8c4a151b
commit bb5ababa28
26 changed files with 677 additions and 504 deletions

View File

@ -12,13 +12,13 @@ import libxml2
libxml2.debugMemory(1)
err=""
expect="""../../test/valid/rss.xml:172: validity error: Element rss does not carry attribute version
expect="""../../test/valid/rss.xml:177: validity error : Element rss does not carry attribute version
</rss>
^
../../test/valid/xlink.xml:450: validity error: ID dt-arc already defined
../../test/valid/xlink.xml:450: validity error : ID dt-arc already defined
<p><termdef id="dt-arc" term="Arc">An <ter
^
../../test/valid/xlink.xml:530: validity error: attribute def line 199 references an unknown ID "dt-xlg"
../../test/valid/xlink.xml:530: validity error : attribute def line 199 references an unknown ID "dt-xlg"
^
"""