xsv
6.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
<head><title>XML Schema (REC (20010502) version, as amended) Checking Service</title>
<link href="http://www.w3.org/StyleSheets/base.css" rel="stylesheet" type="text/css" />
</head>
<body>
<p><a href="http://www.w3.org/"><img src="http://www.w3.org/Icons/WWW/w3c_home" alt="W3C" /></a> <a href="http://www.w3.org/XML/">XML</a> <a href="http://www.ltg.ed.ac.uk/">LTG</a></p>
<h1>Validator for XML Schema <span style="color:red">REC (20010502) version</span>, as amended</h1>
<h4>XSV version: XSV 3.1-1 of 2007/12/11 16:20:05</h4>
<p><strong>NOTICE:</strong> This is a service for a W3C <strong><a
href="http://www.w3.org/TR/xmlschema-1/">approved recommendation</a></strong>. This version is for schema documents with the namespace URI <code>http://www.w3.org/2001/XMLSchema</code> and is being actively developed: see <a href="http://www.w3.org/2000/09/webdata/xsv">XSV for XML Schema 20000922 version</a> for the no longer maintained previous version, for schema documents with the namespace URI <code>http://www.w3.org/2000/10/XMLSchema</code>, and <a href="http://www.w3.org/2000/06/webdata/xsv">XSV for XML Schema 200004007 version</a> for the no longer maintained even earlier version, for schema documents with the namespace URI <code>http://www.w3.org/1999/XMLSchema</code>.</p>
<hr />
<p>Use this form for checking a schema which is accessible via the Web, and/or schema-validating an instance with a schema of your own.</p>
<form method="get" action="#">
<p><label><a href="#hlp-addr">Address(es)</a>: <input name="docAddrs" size="80"/></label> <br />
<label><input type="checkbox" name="warnings"/> <a href="#hlp-warn">Show warnings</a></label>
<label><input type="checkbox" name="keepGoing"/> <a href="#hlp-keep">Keep Going</a></label>
<label><input type="checkbox" name="independent"/> <a href="#hlp-check">Check as complete schema</a></label></p>
<p>Default output is now text/xml with an XSLT stylesheet. Select fallbacks for browsers which don't support http://www.w3.org/1999/XSL/Transform stylesheets:</p>
<table>
<tbody>
<tr><td>
<input type="radio" name="style" value="xsl" checked="checked"/>text/xml + official XSLT (suits IE5 and greater, Mozilla)</td></tr>
<tr><td>
<input type="radio" name="style" value="msxsl"/>text/xml + early MS XSL support (suits vanilla IE5)</td></tr>
<tr><td><input type="radio" name="style" value="offline"/>text/html (styled server-side: suits Netscape, older IE)</td></tr>
<tr><td>
<input type="radio" name="style" value="text"/>xml, but labelled text/plain (works for any browser, but hard to read)</td></tr>
</tbody>
</table>
<p><input type="submit" value="Get Results"/></p>
</form>
<hr />
<p>Use this form only if you are behind a firewall or have a schema to check which is not accessible via the Web.</p>
<form method="post" enctype="multipart/form-data" action="#">
<p><label>File to upload: <input name="docFile" type="file" /></label> <br />
<label><input type="checkbox" name="warnings"/> <a href="#hlp-warn">Show warnings</a></label>
<label><input type="checkbox" name="keepGoing"/> <a href="#hlp-keep">Keep Going</a></label>
<label><input type="checkbox" name="independent"/> <a href="#hlp-check">Check as complete schema</a></label></p>
<p>Default output is now text/xml with an XSLT stylesheet. Select fallbacks for browsers which don't support http://www.w3.org/1999/XSL/Transform stylesheets:</p>
<table>
<tbody>
<tr><td>
<input type="radio" name="style" value="xsl" checked="checked"/>text/xml + official XSLT (suits IE5 or greater, Mozilla)</td></tr>
<tr><td>
<input type="radio" name="style" value="msxsl"/>text/xml + early MS XSL support (suits vanilla IE5)</td></tr>
<tr><td>
<input type="radio" name="style" value="offline"/>text/html (styled server-side: suits Netscape, older IE)</td></tr>
<tr><td>
<input type="radio" name="style" value="text"/>xml, but labelled text/plain (works for any browser, but hard to read)</td></tr>
</tbody>
</table>
<p><input type="submit" value="Upload and Get Results"/></p>
</form>
<hr />
<dl>
<dt><a name="hlp-addr">Address(es)</a></dt>
<dd> of document to schema-validate.
If you enter more than one URL, the 2nd etc. will be used to schema-validate
the first</dd>
<dt><a name="hlp-warn">Show Warnings</a></dt>
<dd>display warning messages, e.g. about use of wildcards</dd>
<dt><a name="hlp-keep">Keep Going</a></dt>
<dd>continue schema-validation after finding errors</dd>
<dt><a name="hlp-check">Check as complete schema</a></dt>
<dd>Normally XSV interprets its first input as a document to be validated, and the remaining inputs, if any, as schema documents for use in that validation. This means that if the only input is a schema document, XSV normally just validates that <em>document</em> against the Schema for Schema Documents (XMLSchema.xsd), but does <em>not</em> also check the Schema REC's constraints on the corresponding schema. Ticking the "Check as complete schema" box causes XSV to treat <em>all</em> its inputs as schema documents, check them against the Schema for Schema Documents <em>and</em> check the Schema REC's constraints on the corresponding schema.</dd>
</dl>
<hr />
<h2>Stuff</h2>
<ul>
<li><a href="http://lists.w3.org/Archives/Public/xmlschema-dev/">xmlschema-dev archive</a></li>
<li><a href="http://www.w3.org/XML/Activity#schema-wg">W3C XML Schema WG</a></li>
<li><a href="http://www.ltg.ed.ac.uk/">HCRC Language Technology Group </a></li>
<li><a href="http://www.ltg.ed.ac.uk/~ht/xsv-status.html">Coverage report for XSV</a></li>
<li><a href="http://dev.w3.org/cvsweb/xmlschema/">source code for XSV schema checker</a></li>
<li><a href="http://www.python.org/">python</a>, apache, etc.</li>
</ul>
<address>
report problems (and sucesses!) to <a href="mailto:xmlschema-dev@w3.org">xmlschema-dev</a> (<a href="http://lists.w3.org/Archives/Public/xmlschema-dev/">archive</a>)<br />
Schema validator by <a href="http://www.ltg.ed.ac.uk/~ht/">Henry S. Thompson</a> and <a href="http://www.ltg.ed.ac.uk/~richard/">Richard Tobin</a>.<br />
Web interface by <a href="http://www.w3.org/People/Connolly/">Dan Connolly</a> and <a href="http://www.ltg.ed.ac.uk/~ht/">Henry S. Thompson</a><br />
<small>script $Revision: 1.11 $ of $Date: 2005/08/19 10:32:00 $</small>
</address>
</body>
</html>