XmlWriterSettings.CheckCharacters Property
Gets or sets a value indicating whether to do character checking.
Assembly: System.Xml (in System.Xml.dll)
If the XmlWriter object supports character checking, it throws an exception if any characters are outside the range of legal XML characters. Section 2.2 of the W3C XML 1.0 recommendation specifies the range of legal XML characters (http://www.w3.org/TR/REC-xml#charsets).
Note
|
|---|
|
Character checking does not include checking for illegal characters in XML names, nor does it include checking that all XML names are valid. These checks are part of conformance checking and are always performed. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Note