From: Olivier S. <ob...@us...> - 2006-01-26 10:04:04
|
Update of /cvsroot/jvcl/dev/JVCL3/run In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2062/dev/JVCL3/run Modified Files: JvSimpleXml.pas Log Message: Ignoring BOM when reading the Prolog Index: JvSimpleXml.pas =================================================================== RCS file: /cvsroot/jvcl/dev/JVCL3/run/JvSimpleXml.pas,v retrieving revision 1.73 retrieving revision 1.74 diff -C2 -d -r1.73 -r1.74 *** JvSimpleXml.pas 8 Jan 2006 18:43:50 -0000 1.73 --- JvSimpleXml.pas 26 Jan 2006 10:03:50 -0000 1.74 *************** *** 3073,3080 **** case lPos of ! 0: //We are waiting for a tag and thus avoiding spaces begin case lBuf[I] of ! ' ', Tab, Cr, Lf: begin end; --- 3073,3080 ---- case lPos of ! 0: //We are waiting for a tag and thus avoiding spaces and any BOM begin case lBuf[I] of ! ' ', Tab, Cr, Lf, #$00, #$FE, #$FF, #$EF, #$BB, #$BF: begin end; |