XdmWriterSettings.NormalizationForm PropertyXdmWriterSettings.NormalizationForm PropertyXdmWriterSettings::NormalizationForm Property
- Namespace: XmlPrime.SerializationXmlPrime.SerializationXmlPrime.Serialization
- Assembly: XmlPrime (in XmlPrime.dll)
Property Value
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException | An attempt is made to set this property to null
a null reference (Nothing in Visual Basic)
nullptr |
Remarks
This property corresponds to the normalization-form
serialization parameter.
Specifies the unicode normalization form. All text content in the serialized document will be normalized with this normalization form. This can be set to one of the following (case-insensitive) values:
NFC
NFD
NFKC
NFKD
fully-normalized
none
If this property is not set to a supported value and MethodMethodMethod is not set to
CanonicalOutputMethodCanonicalOutputMethodCanonicalOutputMethod then a SESU0011
XdmExceptionXdmExceptionXdmException is
thrown when serialization is attempted.
By default the normalization-form
parameter is set to none, and no normalization is performed.
This property is ignored when MethodMethodMethod is set to CanonicalOutputMethodCanonicalOutputMethodCanonicalOutputMethod.