IContentHandler.IgnorableWhitespace(Char[], Int32, Int32) Method

Definition

Receive notification of ignorable whitespace in element content.

[Android.Runtime.Register("ignorableWhitespace", "([CII)V", "GetIgnorableWhitespace_arrayCIIHandler:Org.Xml.Sax.IContentHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void IgnorableWhitespace (char[]? ch, int start, int length);
[<Android.Runtime.Register("ignorableWhitespace", "([CII)V", "GetIgnorableWhitespace_arrayCIIHandler:Org.Xml.Sax.IContentHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member IgnorableWhitespace : char[] * int * int -> unit

Parameters

ch
Char[]

the characters from the XML document

start
Int32

the start position in the array

length
Int32

the number of characters to read from the array

Attributes

Exceptions

any SAX exception, possibly wrapping another exception

Remarks

Receive notification of ignorable whitespace in element content.

Validating Parsers must use this method to report each chunk of whitespace in element content (see the W3C XML 1.0 recommendation, section 2.10): non-validating parsers may also use this method if they are capable of parsing and using content models.

SAX parsers may return all contiguous whitespace in a single chunk, or they may split it into several chunks; however, all of the characters in any single event must come from the same external entity, so that the Locator provides useful information.

The application must not attempt to read from the array outside of the specified range.

Java documentation for org.xml.sax.ContentHandler.ignorableWhitespace(char[], int, int).

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

See also

  • <xref:Org.Xml.Sax.IContentHandler.Characters(System.Char%5b%5d%2c+System.Int32%2c+System.Int32)>