Index: oup/current/DataAccess/Access_OUP_ADB.pas
===================================================================
--- oup/current/DataAccess/Access_OUP_ADB.pas	(revision 256)
+++ oup/current/DataAccess/Access_OUP_ADB.pas	(revision 321)
@@ -545,5 +545,4 @@
 var
   i: Integer;
-  rawlist: TRawDataList;
 begin
   SetLength(Result, 0);
Index: oup/current/DataAccess/Access_OniArchive.pas
===================================================================
--- oup/current/DataAccess/Access_OniArchive.pas	(revision 256)
+++ oup/current/DataAccess/Access_OniArchive.pas	(revision 321)
@@ -589,4 +589,6 @@
   begin
     raw_info := Self.GetRawInfo(FileID, DatOffset);
+    if raw_info.RawSize = 0 then
+      exit;
     if not raw_info.LocSep then
     begin
