using System.Xml.Schema;
using System.Xml.Xsl;
using System.Xml.XPath;
-#if !TARGET_JVM && !MSNET
+#if !MSNET
using Commons.Xml.Nvdl;
using Commons.Xml.Relaxng;
using Commons.Xml.Relaxng.Rnc;
case "--help":
Usage ();
return;
-#if !TARGET_JVM && !MSNET
+#if !MSNET
case "--validate":
ValidateAuto (args);
return;
}
}
-#if !TARGET_JVM && !MSNET
+#if !MSNET
static void ValidateAuto (string [] args)
{
if (args.Length < 1) {
r.WhitespaceHandling = WhitespaceHandling.Significant;
XmlTextWriter w = null;
if (args.Length > 2)
- w = new XmlTextWriter (args [1], Encoding.UTF8);
+ w = new XmlTextWriter (args [2], Encoding.UTF8);
else
w = new XmlTextWriter (Console.Out);
w.Formatting = Formatting.Indented;