Lines 291-297
Link Here
|
291 |
static xmlChar gen_xmlChar(int no, int nr ATTRIBUTE_UNUSED) { |
291 |
static xmlChar gen_xmlChar(int no, int nr ATTRIBUTE_UNUSED) { |
292 |
if (no == 0) return('a'); |
292 |
if (no == 0) return('a'); |
293 |
if (no == 1) return(' '); |
293 |
if (no == 1) return(' '); |
294 |
if (no == 2) return((xmlChar) 'ø'); |
294 |
if (no == 2) return((xmlChar) '\xF8'); /* i93433: replaced 'ø' encoded in ISO-8859-1 with '\xf8' */ |
295 |
return(0); |
295 |
return(0); |
296 |
} |
296 |
} |
297 |
|
297 |
|
Lines 399-405
Link Here
|
399 |
static xmlChar *gen_const_xmlChar_ptr(int no, int nr ATTRIBUTE_UNUSED) { |
399 |
static xmlChar *gen_const_xmlChar_ptr(int no, int nr ATTRIBUTE_UNUSED) { |
400 |
if (no == 0) return((xmlChar *) "foo"); |
400 |
if (no == 0) return((xmlChar *) "foo"); |
401 |
if (no == 1) return((xmlChar *) "<foo/>"); |
401 |
if (no == 1) return((xmlChar *) "<foo/>"); |
402 |
if (no == 2) return((xmlChar *) "nøne"); |
402 |
if (no == 2) return((xmlChar *) "n\xF8ne"); /* i93433: replaced 'ø' encoded in ISO-8859-1 with '\xf8' */ |
403 |
if (no == 3) return((xmlChar *) " 2ab "); |
403 |
if (no == 3) return((xmlChar *) " 2ab "); |
404 |
return(NULL); |
404 |
return(NULL); |
405 |
} |
405 |
} |