HiPS: blank lines in properties files

Christine Banek cbanek at gmail.com
Thu Sep 14 01:18:56 CEST 2023


Sorry if this is too silly to be considered an issue, but I noticed
something slightly annoying and thought I'd bring it up.  But maybe the
ship has sailed.

TLDR: Why are blank lines allowed in properties files?  It seems like it'd
be a fair bit simpler if they weren't, and I'm not sure what utility they
provide given that they must be ignored.

In 4.4.1 The properties file it is said:

Blank lines must be ignored.

Then in 5.2 HiPS list:

The format of this list is derived from the HiPS properties file associated
to each HiPS. It is an UTF-8 file containing a collection of records (key1
= property1\nkey1 = property2...) that are separated by blank lines and
have the same syntax and vocabulary as the HiPS properties file.

and then

In practice: a HiPS list may be easily generated as the concatenation of
the properties files of all distributed HiPS, with blank line separators

and then a footnote:

In this case, the possible blank lines inside a properties file must be
removed.

Thanks for dealing with my silliness.
Christine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ivoa.net/pipermail/apps/attachments/20230913/4f82e384/attachment.htm>


More information about the apps mailing list