소스 검색

* 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 -

michael 16 년 전
부모
커밋
9662260088
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/fcl-xml/src/xmlread.pp

+ 1 - 1
packages/fcl-xml/src/xmlread.pp

@@ -2047,7 +2047,7 @@ begin
       Inc(p);
     FDTDStartPos := p;
   end;
-  FDTDStartPos := TXMLDecodingSource(FSource).FBufStart + (FSource.FBufEnd-FSource.FBuf);
+  FDTDStartPos := TXMLDecodingSource(FSource).FBufStart;
 end;
 
 procedure TXMLReader.ParseDoctypeDecl;    // [28]