Share via


XmlPullParser.FeatureProcessDocdecl Field

Definition

Caution

Use 'Org.XmlPull.V1.IXmlPullParser.FeatureProcessDocdecl'. This class will be removed in a future release.

This feature determines whether the document declaration is processed.

[Android.Runtime.Register("FEATURE_PROCESS_DOCDECL")]
[System.Obsolete("Use 'Org.XmlPull.V1.IXmlPullParser.FeatureProcessDocdecl'. This class will be removed in a future release.")]
public const string FeatureProcessDocdecl;
[<Android.Runtime.Register("FEATURE_PROCESS_DOCDECL")>]
[<System.Obsolete("Use 'Org.XmlPull.V1.IXmlPullParser.FeatureProcessDocdecl'. This class will be removed in a future release.")>]
val mutable FeatureProcessDocdecl : string

Field Value

Attributes

Remarks

This feature determines whether the document declaration is processed. If set to false, the DOCDECL event type is reported by nextToken() and ignored by next().

If this feature is activated, then the document declaration must be processed by the parser.

<strong>Please note:</strong> If the document type declaration was ignored, entity references may cause exceptions later in the parsing process. The default value of this feature is false. It cannot be changed during parsing.

Java documentation for org.xmlpull.v1.XmlPullParser.FEATURE_PROCESS_DOCDECL.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to