File tree Expand file tree Collapse file tree 11 files changed +60
-1
lines changed
Expand file tree Collapse file tree 11 files changed +60
-1
lines changed Original file line number Diff line number Diff line change @@ -7153,7 +7153,11 @@ xmlParseMarkupDecl(xmlParserCtxtPtr ctxt) {
71537153 xmlParseComment (ctxt );
71547154 break ;
71557155 default :
7156- /* there is an error but it will be detected later */
7156+ xmlFatalErr (ctxt ,
7157+ ctxt -> inSubset == 2 ?
7158+ XML_ERR_EXT_SUBSET_NOT_FINISHED :
7159+ XML_ERR_INT_SUBSET_NOT_FINISHED ,
7160+ NULL );
71577161 SKIP (2 );
71587162 break ;
71597163 }
Original file line number Diff line number Diff line change @@ -20,5 +20,11 @@ Entity: line 1:
2020%xx;
2121 ^
2222Entity: line 2:
23+ <![INCLUDE[
24+ ^
25+ ./test/errors/759573-2.xml:6: parser error : Content error in the internal subset
26+ %xx;
27+ ^
28+ Entity: line 2:
2329<![INCLUDE[
2430 ^
Original file line number Diff line number Diff line change @@ -20,5 +20,11 @@ Entity: line 1:
2020%xx;
2121 ^
2222Entity: line 2:
23+ <![INCLUDE[
24+ ^
25+ ./test/errors/759573-2.xml:6: parser error : Content error in the internal subset
26+ %xx;
27+ ^
28+ Entity: line 2:
2329<![INCLUDE[
2430 ^
Original file line number Diff line number Diff line change @@ -20,6 +20,12 @@ Entity: line 1:
2020%xx;
2121 ^
2222Entity: line 2:
23+ <![INCLUDE[
24+ ^
25+ ./test/errors/759573-2.xml:6: parser error : Content error in the internal subset
26+ %xx;
27+ ^
28+ Entity: line 2:
2329<![INCLUDE[
2430 ^
2531./test/errors/759573-2.xml : failed to parse
Original file line number Diff line number Diff line change @@ -17,5 +17,11 @@ Entity: line 1:
1717T t (A)><!ENTITY % xx '%<![INCLUDE[000%ஸ000%z;'><!ENTITYz>%xx;
1818 ^
1919Entity: line 1:
20+ %<![INCLUDE[000%ஸ000%z;
21+ ^
22+ ./test/errors/759573.xml:1: parser error : Content error in the internal subset
23+ T t (A)><!ENTITY % xx '%<![INCLUDE[000%ஸ000%z;'><!ENTITYz>%xx;
24+ ^
25+ Entity: line 1:
2026%<![INCLUDE[000%ஸ000%z;
2127 ^
Original file line number Diff line number Diff line change @@ -17,5 +17,11 @@ Entity: line 1:
1717T t (A)><!ENTITY % xx '%<![INCLUDE[000%ஸ000%z;'><!ENTITYz>%xx;
1818 ^
1919Entity: line 1:
20+ %<![INCLUDE[000%ஸ000%z;
21+ ^
22+ ./test/errors/759573.xml:1: parser error : Content error in the internal subset
23+ T t (A)><!ENTITY % xx '%<![INCLUDE[000%ஸ000%z;'><!ENTITYz>%xx;
24+ ^
25+ Entity: line 1:
2026%<![INCLUDE[000%ஸ000%z;
2127 ^
Original file line number Diff line number Diff line change @@ -17,6 +17,12 @@ Entity: line 1:
1717T t (A)><!ENTITY % xx '%<![INCLUDE[000%ஸ000%z;'><!ENTITYz>%xx;
1818 ^
1919Entity: line 1:
20+ %<![INCLUDE[000%ஸ000%z;
21+ ^
22+ ./test/errors/759573.xml:1: parser error : Content error in the internal subset
23+ T t (A)><!ENTITY % xx '%<![INCLUDE[000%ஸ000%z;'><!ENTITYz>%xx;
24+ ^
25+ Entity: line 1:
2026%<![INCLUDE[000%ஸ000%z;
2127 ^
2228./test/errors/759573.xml : failed to parse
Original file line number Diff line number Diff line change 1+ ./test/errors/issue868.xml:3: parser error : Content error in the internal subset
2+ <!]>
3+ ^
Original file line number Diff line number Diff line change 1+ ./test/errors/issue868.xml:3: parser error : Content error in the internal subset
2+ <!]>
3+ ^
Original file line number Diff line number Diff line change 1+ ./test/errors/issue868.xml:3: parser error : Content error in the internal subset
2+ <!]>
3+ ^
4+ ./test/errors/issue868.xml : failed to parse
You can’t perform that action at this time.
0 commit comments