Author: atsushi
Date: 2006-01-30 00:56:29 -0500 (Mon, 30 Jan 2006)
New Revision: 56235
Modified:
trunk/mcs/tools/mono-xmltool/ChangeLog
trunk/mcs/tools/mono-xmltool/xmltool.cs
Log:
2006-01-30 Atsushi Enomoto <[EMAIL PROTECTED]>
* xmltool.cs : actually environment variable was not handled.
Modified: trunk/mcs/tools/mono-xmltool/ChangeLog
===================================================================
--- trunk/mcs/tools/mono-xmltool/ChangeLog 2006-01-30 05:53:58 UTC (rev
56234)
+++ trunk/mcs/tools/mono-xmltool/ChangeLog 2006-01-30 05:56:29 UTC (rev
56235)
@@ -1,3 +1,7 @@
2006-01-30 Atsushi Enomoto <[EMAIL PROTECTED]>
+ * xmltool.cs : actually environment variable was not handled.
+
+2006-01-30 Atsushi Enomoto <[EMAIL PROTECTED]>
+
* xmltool.cs, Makefile, mono-xmltool.exe.sources : new files.
Modified: trunk/mcs/tools/mono-xmltool/xmltool.cs
===================================================================
--- trunk/mcs/tools/mono-xmltool/xmltool.cs 2006-01-30 05:53:58 UTC (rev
56234)
+++ trunk/mcs/tools/mono-xmltool/xmltool.cs 2006-01-30 05:56:29 UTC (rev
56235)
@@ -118,7 +118,8 @@
XmlTextReader xtr = new XmlTextReader (args [2]);
RelaxngValidatingReader vr =
new RelaxngValidatingReader (xtr, p);
- vr.ReportDetails = true;
+ if (Environment.GetEnvironmentVariable
("MONO_XMLTOOL_ERROR_DETAILS") == "yes")
+ vr.ReportDetails = true;
while (!vr.EOF)
vr.Read ();
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches