diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2008-03-17 16:01:40 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2008-03-17 16:01:40 +0000 |
commit | bfcacf9ccf8331baf47a7db55017d0ca5e273080 (patch) | |
tree | 1e62149df78fc26b01f9f94f035f6f771c025142 /src | |
parent | b23f7d232b98527846bfcd41aed36914ffbc431b (diff) | |
download | xine-lib-bfcacf9ccf8331baf47a7db55017d0ca5e273080.tar.gz xine-lib-bfcacf9ccf8331baf47a7db55017d0ca5e273080.tar.bz2 |
Allow CR & LF termination of XML element names.
Diffstat (limited to 'src')
-rw-r--r-- | src/xine-utils/xmllexer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xine-utils/xmllexer.c b/src/xine-utils/xmllexer.c index be3bdd248..09e5a5e24 100644 --- a/src/xine-utils/xmllexer.c +++ b/src/xine-utils/xmllexer.c @@ -411,6 +411,8 @@ int lexer_get_token_d(char ** _tok, int * _tok_size, int fixed) { case '\"': /* " */ case ' ': case '\t': + case '\n': + case '\r': case '=': case '/': tok[tok_pos] = '\0'; |