File: UTILS_XMLValidator.html

package info (click to toggle)
openms 1.11.1-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 436,688 kB
  • ctags: 150,907
  • sloc: cpp: 387,126; xml: 71,547; python: 7,764; ansic: 2,626; php: 2,499; sql: 737; ruby: 342; sh: 325; makefile: 128
file content (75 lines) | stat: -rw-r--r-- 5,731 bytes parent folder | download
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
<HTML>
<HEAD>
<TITLE>XMLValidator</TITLE>
<LINK HREF="doxygen.css" REL="stylesheet" TYPE="text/css">
<LINK HREF="style_ini.css" REL="stylesheet" TYPE="text/css">
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<A href="index.html">Home</A> &nbsp;&middot;
<A href="classes.html">Classes</A> &nbsp;&middot;
<A href="annotated.html">Annotated Classes</A> &nbsp;&middot;
<A href="modules.html">Modules</A> &nbsp;&middot;
<A href="functions_func.html">Members</A> &nbsp;&middot;
<A href="namespaces.html">Namespaces</A> &nbsp;&middot;
<A href="pages.html">Related Pages</A>
<HR style="height:1px; border:none; border-top:1px solid #c0c0c0;">
<!-- Generated by Doxygen 1.8.5 -->
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">XMLValidator </div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p>Validates XML files against an XSD schema.</p>
<p>When a schema file is given, the input file is simply validated against the schema.</p>
<p>When no schema file is given, the tool tries to determine the file type and validates the file against the latest schema version.</p>
<dl class="section note"><dt>Note</dt><dd>XML schema files for the OpenMS XML formats and several other XML formats can be found in the folder OpenMS/share/OpenMS/SCHEMAS/</dd></dl>
<p><b>The command line parameters of this tool are:</b> </p>
<pre class="fragment">
XMLValidator -- Validates XML files against an XSD schema.
Version: 1.11.1 Nov 14 2013, 11:18:15, Revision: 11976

Usage:
  XMLValidator &lt;options&gt;

Options (mandatory options marked with '*'):
  -in &lt;file&gt;*        File to validate (valid formats: 'mzML', 'mzData', 'featureXML', 'idXML', 'consensusXML'
                     , 'mzXML', 'ini', 'pepXML')
  -schema &lt;file&gt;     Schema to validate against.
                     If no schema is given, the file is validated against the latest schema of the file type
                     . (valid formats: 'xsd')
                     
Common UTIL options:
  -ini &lt;file&gt;        Use the given TOPP INI file
  -threads &lt;n&gt;       Sets the number of threads allowed to be used by the TOPP tool (default: '1')
  -write_ini &lt;file&gt;  Writes the default configuration file
  --help             Shows options
  --helphelp         Shows all options (including advanced)

</pre><p> <b>INI file documentation of this tool:</b> <div class="ini_global">
<div class="legend">
<b>Legend:</b><br>
 <div class="item item_required">required parameter</div>
 <div class="item item_advanced">advanced parameter</div>
</div>
  <div class="node"><span class="node_name">+XMLValidator</span><span class="node_description">Validates XML files against an XSD schema.</span></div>
    <div class="item item_advanced"><span class="item_name" style="padding-left:16px;">version</span><span class="item_value">1.11.1</span>
<span class="item_description">Version of the tool that generated this parameters file.</span><span class="item_tags"></span><span class="item_restrictions"> </span></div>    <div class="node"><span class="node_name">++1</span><span class="node_description">Instance '1' section for 'XMLValidator'</span></div>
      <div class="item"><span class="item_name item_required" style="padding-left:24px;">in</span><span class="item_value"></span>
<span class="item_description">file to validate</span><span class="item_tags">input file</span><span class="item_restrictions">*.mzML,*.mzData,*.featureXML,*.idXML,*.consensusXML,*.mzXML,*.ini,*.pepXML</span></div>      <div class="item"><span class="item_name" style="padding-left:24px;">schema</span><span class="item_value"></span>
<span class="item_description">schema to validate against.<br>If no schema is given, the file is validated against the latest schema of the file type.</span><span class="item_tags">input file</span><span class="item_restrictions">*.xsd</span></div>      <div class="item item_advanced"><span class="item_name" style="padding-left:24px;">log</span><span class="item_value"></span>
<span class="item_description">Name of log file (created only when specified)</span><span class="item_tags"></span><span class="item_restrictions"> </span></div>      <div class="item item_advanced"><span class="item_name" style="padding-left:24px;">debug</span><span class="item_value">0</span>
<span class="item_description">Sets the debug level</span><span class="item_tags"></span><span class="item_restrictions"> </span></div>      <div class="item"><span class="item_name" style="padding-left:24px;">threads</span><span class="item_value">1</span>
<span class="item_description">Sets the number of threads allowed to be used by the TOPP tool</span><span class="item_tags"></span><span class="item_restrictions"> </span></div>      <div class="item item_advanced"><span class="item_name" style="padding-left:24px;">no_progress</span><span class="item_value">false</span>
<span class="item_description">Disables progress logging to command line</span><span class="item_tags"></span><span class="item_restrictions">true,false</span></div>      <div class="item item_advanced"><span class="item_name" style="padding-left:24px;">test</span><span class="item_value">false</span>
<span class="item_description">Enables the test mode (needed for internal use only)</span><span class="item_tags"></span><span class="item_restrictions">true,false</span></div></div>
 </div></div><!-- contents -->
<HR style="height:1px; border:none; border-top:1px solid #c0c0c0;">
<TABLE width="100%" border="0">
<TR>
<TD><font color="#c0c0c0">OpenMS / TOPP release 1.11.1</font></TD>
<TD align="right"><font color="#c0c0c0">Documentation generated on Thu Nov 14 2013 11:19:24 using doxygen 1.8.5</font></TD>
</TR>
</TABLE>
</BODY>
</HTML>