axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
axl_bool axl_stream_is_white_space ( char *  chunk)

Allows to check if the given chunk is a white space in the same of the XML 1.0 Third edition.

The XML standard understand the "white space", also reffered as S, as the following characters: \x20 (the white space itself), \n, \r and \t.

This function allows to check if the given chunk contains a white space, in the previous sense.

Parameters
chunkThe chunk to check
Returns
axl_true if the chunk contains a white space or axl_false if not.

References axl_false, and axl_true.

Referenced by axl_stream_trim_with_size().