0
|
1 |
<HTML>
|
|
2 |
<TITLE>XML Test Cases</TITLE>
|
|
3 |
<BODY>
|
|
4 |
<H1>XML Test Cases version 1998-11-18</H1>
|
|
5 |
<P>
|
|
6 |
Copyright (C) 1998 James Clark. All rights reserved. Permission is
|
|
7 |
granted to copy and modify this collection in any way for internal use
|
|
8 |
within a company or organization. Permission is granted to
|
|
9 |
redistribute the file <code>xmltest.zip</code> containing this
|
|
10 |
collection to third parties provided that no modifications of any kind
|
|
11 |
are made to this file. Note that permission to distribute the
|
|
12 |
collection in any other form is not granted.
|
|
13 |
<P>
|
|
14 |
The collection is structured into three directories:
|
|
15 |
<DL>
|
|
16 |
<DT><CODE>not-wf</CODE>
|
|
17 |
<DD>this contains cases that are not well-formed XML documents
|
|
18 |
<DT><CODE>valid</CODE>
|
|
19 |
<DD>this contains cases that are valid XML documents
|
|
20 |
<DT><CODE>invalid</CODE>
|
|
21 |
<DD>this contains cases that are well-formed XML documents
|
|
22 |
but are not valid XML documents
|
|
23 |
</DL>
|
|
24 |
<P>
|
|
25 |
The <CODE>not-wf</CODE> and <CODE>valid</CODE> directories each have
|
|
26 |
three subdirectories:
|
|
27 |
<DL>
|
|
28 |
<DT>
|
|
29 |
<CODE>sa</CODE>
|
|
30 |
<DD>
|
|
31 |
this contains cases that are standalone (as defined in XML) and do not
|
|
32 |
have references to external general entities
|
|
33 |
<DT>
|
|
34 |
<CODE>ext-sa</CODE>
|
|
35 |
<DD>
|
|
36 |
this contains case that are standalone and have references to external
|
|
37 |
general entities
|
|
38 |
<DT>
|
|
39 |
<CODE>not-sa</CODE>
|
|
40 |
<DD>
|
|
41 |
this contains cases that are not standalone
|
|
42 |
</DL>
|
|
43 |
<P>
|
|
44 |
In each directory, files with a <CODE>.xml</CODE> extension are the
|
|
45 |
XML document test cases, and files with a <CODE>.ent</CODE> extension
|
|
46 |
are external entities referenced by the test cases.
|
|
47 |
<P>
|
|
48 |
Within the <CODE>valid</CODE> directory, each of these three
|
|
49 |
subdirectories has an <CODE>out</CODE> subdirectory which contains an
|
|
50 |
equivalent <A HREF="canonxml.html">canonical XML</A> document for each
|
|
51 |
of the cases.
|
|
52 |
<P>
|
|
53 |
<P>
|
|
54 |
Bug reports and contributions of new test cases are welcome.
|
|
55 |
<P>
|
|
56 |
<ADDRESS>
|
|
57 |
<A HREF="mailto:jjc@jclark.com">James Clark</A>
|
|
58 |
</ADDRESS>
|
|
59 |
</BODY>
|
|
60 |
</HTML>
|