mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 16:09:25 +02:00
* Patch from Sergei Gorelkin:
Fixes a bug in internal DTD subset processing, which was preventing tokens that cross input buffer boundary from being correctly added to DocType.InternalSubset (the first part of such tokens was dropped). git-svn-id: trunk@12860 -
This commit is contained in:
parent
5f2f4a8cbb
commit
9662260088
@ -2047,7 +2047,7 @@ begin
|
|||||||
Inc(p);
|
Inc(p);
|
||||||
FDTDStartPos := p;
|
FDTDStartPos := p;
|
||||||
end;
|
end;
|
||||||
FDTDStartPos := TXMLDecodingSource(FSource).FBufStart + (FSource.FBufEnd-FSource.FBuf);
|
FDTDStartPos := TXMLDecodingSource(FSource).FBufStart;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TXMLReader.ParseDoctypeDecl; // [28]
|
procedure TXMLReader.ParseDoctypeDecl; // [28]
|
||||||
|
Loading…
Reference in New Issue
Block a user