mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-26 21:09:12 +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;
|
||||
try
|
||||
FDocType.FName := ExpectName;
|
||||
SkipS(True);
|
||||
ParseExternalID(FDocType.FSystemID, FDocType.FPublicID, False);
|
||||
SkipS;
|
||||
if SkipS(false) then begin
|
||||
ParseExternalID(FDocType.FSystemID, FDocType.FPublicID, False);
|
||||
SkipS;
|
||||
end;
|
||||
finally
|
||||
// DONE: append node after its name has been set; always append to avoid leak
|
||||
if FCanonical then
|
||||
|
Loading…
Reference in New Issue
Block a user