@brief Convert newline, linefeed, tab to space @param chr character @details According to the "XML 1.0" standard, only space (#x20) characters, carriage returns, line feeds or tabs are considered as spaces. Convert all of them to space (#x20) for parsing simplicity. */
| 1949 | Convert all of them to space (#x20) for parsing simplicity. |
| 1950 | */ |
| 1951 | static int |
| 1952 | my_tospace(int chr) |
| 1953 | { |
| 1954 | return (chr == '\t' || chr == '\r' || chr == '\n') ? ' ' : chr; |
| 1955 | } |
| 1956 | |
| 1957 | |
| 1958 | /* |
no outgoing calls
no test coverage detected