XdmWriterSettings.CheckNamespaces PropertyXdmWriterSettings.CheckNamespaces PropertyXdmWriterSettings::CheckNamespaces Property
- Namespace: XmlPrime.SerializationXmlPrime.SerializationXmlPrime.Serialization
- Assembly: XmlPrime (in XmlPrime.dll)
Syntax
Public Property CheckNamespaces As CheckNamespaces Get Set(ByVal value As CheckNamespaces)
public CheckNamespaces CheckNamespaces { get; set; }
public: property CheckNamespaces CheckNamespaces { CheckNamespaces get(); void set(CheckNamespaces value); }
Property Value
Type: XmlPrime.Serialization.CheckNamespacesXmlPrime.Serialization.CheckNamespacesXmlPrime.Serialization::CheckNamespaces
One of the CheckNamespacesCheckNamespacesCheckNamespaces values.
Remarks
When this property is set to CheckAbsoluteCheckAbsoluteCheckAbsolute serialization will
raise a SERE0003
XdmExceptionXdmExceptionXdmException if the namespace URI of a namespace declaration is
not a valid absolute URI.
If MethodMethodMethod is set to CanonicalOutputMethodCanonicalOutputMethodCanonicalOutputMethod then setting CheckNamespacesCheckNamespacesCheckNamespaces to NoneNoneNone causes canonicalization to allow namespace nodes whose namespace URIs are not valid absolute URIs.
This is equivalent to the check-namespaces
serialization property in the http://www.xmlprime.com/serialization
namespace.
If this property is set to AutoAutoAuto then this is equivalent to CheckAbsoluteCheckAbsoluteCheckAbsolute if MethodMethodMethod is set to CanonicalOutputMethodCanonicalOutputMethodCanonicalOutputMethod; or NoneNoneNone otherwise.
If MethodMethodMethod is set to TextOutputMethodTextOutputMethodTextOutputMethod then this parameter is ignored.