Line 23:
Line 23:
== [http://www.cs.umd.edu/%7Emeesh/cmsc420/spr07/part1/p11/node22.html Outputting XML Conventions] ==
== [http://www.cs.umd.edu/%7Emeesh/cmsc420/spr07/part1/p11/node22.html Outputting XML Conventions] ==
−
−
=== Error tag typo ===
−
<blockquote>
−
General <error> Output
−
−
This is the form (in the exact output order) of a general <error> tag. The <parameters> tag will always be present even if there are no parameters to the command. In each command there may be several errors listed if several errors occur in a command you will only output the error of highest priority. For more information see XML Input specification for each command.
−
<code><pre>
−
<error type="error1">
−
<command name="name1"/>
−
<parameters>
−
<param1 value="value1"/>
−
<param2 value="value2"/>
−
</parameters>
−
<error/>
−
</pre></code>
−
</blockquote>
−
The last tag should be </error>, not <error/>.
=== Printing to System.out ===
=== Printing to System.out ===