~ubuntu-branches/ubuntu/lucid/fpc/lucid-proposed

« back to all changes in this revision

Viewing changes to fpcsrc/packages/fcl-xml/tests/README

  • Committer: Bazaar Package Importer
  • Author(s): Mazen Neifer, Torsten Werner, Mazen Neifer
  • Date: 2008-10-09 23:29:00 UTC
  • mfrom: (4.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20081009232900-553f61m37jkp6upv
Tags: 2.2.2-4
[ Torsten Werner ]
* Update ABI version in fpc-depends automatically.
* Remove empty directories from binary package fpc-source.

[ Mazen Neifer ]
* Removed leading path when calling update-alternatives to remove a Linitian
  error.
* Fixed clean target.
* Improved description of packages. (Closes: #498882)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
The xmlts is intended to run the XML compliance suite from W3.org.
5
5
The suite includes 2500+ tests. It may be downloaded from
6
 
http://www.w3.org/XML/Test/xmlts20031210.zip  (approx. 1.7 mBytes)
 
6
http://www.w3.org/XML/Test/xmlts20080205.zip  (approx. 1.7 mBytes)
7
7
After compiling xmlts.pp, run it with the following command line:
8
8
 
9
9
xmlts <path-to-xmlconf.xml> <report-filename> [-t template.xml] [-v]
23
23
 
24
24
As of 10.03.2007, the xml package does not support namespaces yet, so you might wish
25
25
to exclude namespace tests. To do this, edit xmlconf/xmlconf.xml file and comment out
26
 
two lines at the bottom which reference 'eduni-ns10' and 'eduni-ns11' testsuites.
27
 
 
28
 
(The last lines should look like:
29
 
 
30
 
    &eduni-xml11;
31
 
<!--    &eduni-ns10; -->
32
 
<!--    &eduni-ns11; -->
33
 
 
34
 
</TESTSUITE>
35
 
)
 
26
the lines that contain references &eduni-ns10; &eduni-ns11; and &eduni-nse;
 
27
 
 
28
 
 
29
Testsuite errata
 
30
--------------------------------------------
 
31
The following issues were encountered while testing the parser. Fortunately, none
 
32
of these change the category of any test, but in some cases cause incorrect error
 
33
message and/or postion to be reported.
 
34
 
 
35
1) xmltest/not-wf/sa/081.xml
 
36
   xmltest/not-wf/sa/082.xml
 
37
   xmltest/not-wf/sa/083.xml
 
38
   xmltest/not-wf/sa/084.xml
 
39
 
 
40
All four reference an external entity with SystemID 'nul', which is a reserved
 
41
name under Windows (you won't be able to create such file). The archive contains
 
42
a file named 'nul.ent' that differs from entity's SystemID, so it won't resolve
 
43
anyway even in non-Windows.
 
44
This issue does not have any effect on FCL parser.
 
45
Additionally, tests 083.xml and 084.xml contain a reference to undefined notation.
 
46
This cause an extra validation error to be reported before the fatal error.
 
47
 
 
48
2) oasis/p49fail1.xml
 
49
   oasis/p50fail1.xml
 
50
 
 
51
Both tests are missing ']' that should close the internal DTD subset.
 
52
 
 
53
3) oasis/p58fail1.xml
 
54
   oasis/p58fail2.xml
 
55
   oasis/p58fail3.xml
 
56
 
 
57
All three have a NOTATION attribute declared on EMPTY element. This causes an extra
 
58
validation error to be reported before the fatal one.
 
59
 
 
60
4) ibm/xml-1.1/not-wf/p02/ibm02n66.ent
 
61
 
 
62
Presumably, missing '<' at start of CDATA. Does not change the diagnostic, though.
 
63
 
 
64
5) ibm/not-wf/p23/ibm23n05.xml
 
65
 
 
66
Contains encoding name 'ASCII' which is not supported by the parser. As a result, it aborts
 
67
before detecting the illegal XML declaration closing sequence.
 
68
 
 
69
6) ibm/not-wf/p72/ibm72n09.xml
 
70
 
 
71
Missing whitespace between 'ENTITY' and '%' at line 6 is detected before the bad tag closing
 
72
sequence.
 
73
 
 
74
7) ibm/not-wf/p77/ibm77n01.ent
 
75
 
 
76
Invalid encoding name 'UTF8' is detected before the wrong token order.
 
77
 
 
78
8) sun/invalid/attr03.xml
 
79
   sun/invalid/attr04.xml
 
80
   sun/invalid/attr15.xml
 
81
 
 
82
Have a NOTATION attribute is declared on EMPTY element. Diagnostics incorrect.
 
83
 
 
84
9) ibm/invalid/p56/ibm56i11.xml
 
85
   ibm/invalid/p56/ibm56i12.xml
 
86
   ibm/invalid/p56/ibm56i14.xml
 
87
   ibm/invalid/p56/ibm56i15.xml
 
88
 
 
89
Contain a reference to undeclared notation 'gif'. Diagnostics incorrect.
 
90
 
 
91
10) eduni/xml-1.1/052.xml
 
92
    eduni/xml-1.1/053.xml
 
93
 
 
94
Intended to test handling of NEL and LSEP chars as element content whitespace, these
 
95
tests enclose NEL and LSEP within ordinary ascii chars ('abc_def') that are clearly not
 
96
a whitespace. A 'correct' error is therefore reported regardless of actual NEL/LSEP handling.
 
97
 
 
98
11) ibm/not-wf/p69/ibm69n06.xml
 
99
    ibm/not-wf/p69/ibm69n07.xml
 
100
 
 
101
Designed to check parameter entity recursion, both tests contain PE references within entity
 
102
value declarations in internal DTD subset, which is a fatal error by itself.
 
103
 
 
104
12) ibm/not-wf/p21/ibm21n01.xml
 
105
 
 
106
Tests illegal CDEnd, but has an extra '[' in CDStart, which is detected earlier.
 
107
 
 
108
13) ibm/not-wf/p21/ibm21n02.xml
 
109
 
 
110
Tests illegal CDEnd, but has lowercase 'cdata' in CDStart, which is detected earlier.
 
111
 
 
112
14) ibm/xml-1.1/not-wf/p02/ibm02n58.xml
 
113
 
 
114
The first illegal character 0x99 is at position (2, 24), but another one at position (4,7) is
 
115
represented with malformed UTF-8 sequence (0xC1 0xA3, while correct one is 0xC2 0x99).
 
116
An 'xml-unaware' decoder can detect this before processing any 'normal' characters,
 
117
so diagnostics may be wrong.
 
118