xmllint (silently) replaces the ' with " when fixing and validating the output of ffprobe in fate-ffprobe_xsd.
Unified · Split
| @@ -1682,9 +1682,9 @@ static void xml_print_section_header(WriterContext *wctx) · 1681 unmodified lines | ||
| 1682 | 1682 | wctx->section[wctx->level-1] : NULL; |
| 1683 | 1683 | |
| 1684 | 1684 | if (wctx->level == 0) { |
| 1685 | − const char *qual = " xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' " | |
| 1686 | − "xmlns:ffprobe='http://www.ffmpeg.org/schema/ffprobe' " | |
| 1687 | − "xsi:schemaLocation='http://www.ffmpeg.org/schema/ffprobe ffprobe.xsd'"; | |
| 1685 | + const char *qual = " xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" " | |
| 1686 | + "xmlns:ffprobe=\"http://www.ffmpeg.org/schema/ffprobe\" " | |
| 1687 | + "xsi:schemaLocation=\"http://www.ffmpeg.org/schema/ffprobe ffprobe.xsd\""; | |
| 1688 | 1688 | |
| 1689 | 1689 | printf("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"); |
| 1690 | 1690 | printf("<%sffprobe%s>\n", |