mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00
parent
552864f109
commit
05bd1720ce
6
parser.c
6
parser.c
@ -7234,7 +7234,11 @@ xmlParseMarkupDecl(xmlParserCtxtPtr ctxt) {
|
|||||||
xmlParseComment(ctxt);
|
xmlParseComment(ctxt);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
/* there is an error but it will be detected later */
|
xmlFatalErr(ctxt,
|
||||||
|
ctxt->inSubset == 2 ?
|
||||||
|
XML_ERR_EXT_SUBSET_NOT_FINISHED :
|
||||||
|
XML_ERR_INT_SUBSET_NOT_FINISHED,
|
||||||
|
NULL);
|
||||||
SKIP(2);
|
SKIP(2);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -20,5 +20,11 @@ Entity: line 1:
|
|||||||
%xx;
|
%xx;
|
||||||
^
|
^
|
||||||
Entity: line 2:
|
Entity: line 2:
|
||||||
|
<![INCLUDE[
|
||||||
|
^
|
||||||
|
./test/errors/759573-2.xml:6: parser error : Content error in the internal subset
|
||||||
|
%xx;
|
||||||
|
^
|
||||||
|
Entity: line 2:
|
||||||
<![INCLUDE[
|
<![INCLUDE[
|
||||||
^
|
^
|
||||||
|
@ -20,5 +20,11 @@ Entity: line 1:
|
|||||||
%xx;
|
%xx;
|
||||||
^
|
^
|
||||||
Entity: line 2:
|
Entity: line 2:
|
||||||
|
<![INCLUDE[
|
||||||
|
^
|
||||||
|
./test/errors/759573-2.xml:6: parser error : Content error in the internal subset
|
||||||
|
%xx;
|
||||||
|
^
|
||||||
|
Entity: line 2:
|
||||||
<![INCLUDE[
|
<![INCLUDE[
|
||||||
^
|
^
|
||||||
|
@ -20,6 +20,12 @@ Entity: line 1:
|
|||||||
%xx;
|
%xx;
|
||||||
^
|
^
|
||||||
Entity: line 2:
|
Entity: line 2:
|
||||||
|
<![INCLUDE[
|
||||||
|
^
|
||||||
|
./test/errors/759573-2.xml:6: parser error : Content error in the internal subset
|
||||||
|
%xx;
|
||||||
|
^
|
||||||
|
Entity: line 2:
|
||||||
<![INCLUDE[
|
<![INCLUDE[
|
||||||
^
|
^
|
||||||
./test/errors/759573-2.xml : failed to parse
|
./test/errors/759573-2.xml : failed to parse
|
||||||
|
3
result/errors/issue868.xml.ent
Normal file
3
result/errors/issue868.xml.ent
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
./test/errors/issue868.xml:3: parser error : Content error in the internal subset
|
||||||
|
<!]>
|
||||||
|
^
|
3
result/errors/issue868.xml.err
Normal file
3
result/errors/issue868.xml.err
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
./test/errors/issue868.xml:3: parser error : Content error in the internal subset
|
||||||
|
<!]>
|
||||||
|
^
|
4
result/errors/issue868.xml.str
Normal file
4
result/errors/issue868.xml.str
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
./test/errors/issue868.xml:3: parser error : Content error in the internal subset
|
||||||
|
<!]>
|
||||||
|
^
|
||||||
|
./test/errors/issue868.xml : failed to parse
|
9
test/errors/issue868.xml
Normal file
9
test/errors/issue868.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||||
|
<!DOCTYPE rss [
|
||||||
|
<!]>
|
||||||
|
<rss>
|
||||||
|
<channel>
|
||||||
|
<image/>
|
||||||
|
<title>PP</title>
|
||||||
|
</channel>
|
||||||
|
</rss>
|
Loading…
x
Reference in New Issue
Block a user