|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace Microsoft.Xml
{
using System;
// DtdProcessing enumerations speficies how will an XmlReader handle DTDs in the XML document.
//
// Prohibit The XmlReader will throw an exception when it finds a '<!DOCTYPE' markup.
// Ignore The DTD will be ignored. Any reference to a general entity in the XML document
// will cause an exception (except for the predefined entities < > & " and ').
// The DocumentType node will not be reported.
// Parse The DTD will be parsed and fully processed (entities expanded, default attributes added etc.)
//
public enum DtdProcessing
{
Prohibit,
Ignore,
Parse,
}
}
|