From: Chip Coldwell <coldwell@frank.harvard.invalid>
Subject: meta-data & Mozilla
Date: 23 Feb 2004 04:28:11 GMT [thread overview]
Message-ID: <c1bvgr$cek$1@news.fas.harvard.edu> (raw)
I'm surprised that this isn't in the VMS FAQ, but I looked through it
and didn't find it anywhere.
In fact, the problem started with wanting to read the FAQ, in
bookreader format. I found a link for downloading the FAQ in
bookreader format at
http://h71000.www7.hp.com/wizard/faq/vmsfaq.decw$book
and downloaded it using Mozilla 1.4 on OpenVMS Alpha 7.3-1 with TCPIP
version 5.3 on a PWS600AU. Then I tried to open the file using the
bookreader program that came with DECWindows (Motif) and I get the
error message "Error reading field in record" and it won't open.
I guessed from the error message that the problem was that Mozilla
downloaded the file in the wrong format. With ANALYZE/RMS_FILE/FDL I
was able to determine that Mozilla had created a sequential file with
fixed-length records of 512 bytes each. Then I found some bookreader
files that came with the operating system and discovered that they are
sequential files containing variable length records.
So I editing the FDL that ANALYZE/RMS_FILE/FDL had created for my
downloaded file so that the RECORD section that had read
RECORD
BLOCK_SPAN yes
CARRIAGE_CONTROL none
FORMAT fixed
SIZE 512
would read
RECORD
BLOCK_SPAN yes
CARRIAGE_CONTROL none
FORMAT variable
SIZE 0
and ran CONVERT/FDL. Guess what? CONVERT created a file containing
variable-length records that all just happen to contain exactly 512
bytes (i.e. one-for-one the original block structure) and bookreader
gives me the same error.
I think that fundamentally the problem here is that when I downloaded
the file, I didn't get the meta-data that describe the record
structure. Since they are variable-length records, there really is no
way of guessing what the lengths are unless there is some other sort
of record delimiter in there.
Does anybody have a solution for this?
Chip
--
Charles M. "Chip" Coldwell
"Turn on, log in, tune out"
next reply other threads:[~2004-02-23 4:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-23 4:28 Chip Coldwell [this message]
2004-02-23 17:35 ` meta-data & Mozilla Peter 'EPLAN' LANGSTOEGER
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox