// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-using System;\r
-\r
-namespace System.Xml.Schema\r
+#if NET_2_0
+using System;
+
+namespace System.Xml.Schema
{
- [Flags]\r
- public enum XmlSchemaValidationFlags\r
+ [Flags]
+ public enum XmlSchemaValidationFlags
{
- IgnoreInlineSchema = 1,
- IgnoreSchemaLocation = 2,
- IgnoreValidationWarnings = 4,\r
- IgnoreIdentityConstraints = 8
- }\r
-}\r
+ None = 0,
+ ProcessInlineSchema = 1,
+ ProcessSchemaLocation = 2,
+ ReportValidationWarnings = 4,
+ ProcessIdentityConstraints = 8,
+ [Obsolete ("It is really idiotic idea to include such validation option that breaks W3C XML Schema specification compliance and interoperability.")]
+ AllowXmlAttributes = 16,
+ }
+}
+#endif