Re: Corruption causing Gramps to crash

Peter Flynn <[email protected]>
Newsgroups gmane.comp.genealogy.gramps.user
Organization Silmaril Consultants
Message-ID <[email protected]>
On 22/11/2021 13:31, Emyoulation--- via Gramps-users wrote:
> Nice. Lots of citations in a such small section!
> 
> With a quick read of the raw .gramps file, 

I thought .gramps files were XML, but looking at my own exports, they're
a binary format. What are you using to read one?

> I only noticed one thing that gave me immediate pause. In the 
> description for Event E13779 (a probate record), it starts with a 
> "less than" symbol (&lt;). "< £125000" I always worry about whether
> software will choke on a text value that starts with a piping
> character.
If the file /was/ XML, then the escaped &lt; is safe because the parser
will deal with it. It would then be up to the user to use suitable
software that will understand the file format. But I share your
misgivings if the file is non-XML and plaintext, because shell scripts
may indeed misinterpret the character.  I'm not sure what happens if you
try to read a binary file with the standard shell scripting tools.

Peter


-- 
Gramps-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.