mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-01 20:29:28 +02:00
LazUtils, allow laz2_xmlread to parse internal DOCTYPE definition
git-svn-id: trunk@46084 -
This commit is contained in:
parent
09e3438275
commit
29f3fc79ef
@ -2498,9 +2498,10 @@ begin
|
|||||||
FState := rsDTD;
|
FState := rsDTD;
|
||||||
try
|
try
|
||||||
FDocType.FName := ExpectName;
|
FDocType.FName := ExpectName;
|
||||||
SkipS(True);
|
if SkipS(false) then begin
|
||||||
ParseExternalID(FDocType.FSystemID, FDocType.FPublicID, False);
|
ParseExternalID(FDocType.FSystemID, FDocType.FPublicID, False);
|
||||||
SkipS;
|
SkipS;
|
||||||
|
end;
|
||||||
finally
|
finally
|
||||||
// DONE: append node after its name has been set; always append to avoid leak
|
// DONE: append node after its name has been set; always append to avoid leak
|
||||||
if FCanonical then
|
if FCanonical then
|
||||||
|
Loading…
Reference in New Issue
Block a user