Share via


IXmlPullParser.FeatureProcessDocdecl Field

Definition

This feature determines whether the document declaration is processed.

[Android.Runtime.Register("FEATURE_PROCESS_DOCDECL")]
public const string FeatureProcessDocdecl;
[<Android.Runtime.Register("FEATURE_PROCESS_DOCDECL")>]
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