<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Dear HiPS provider,</p>
<p>You're right. The possible use of separator lines in the
properties file avoids the simple concatenation of files when
creating the associated Hips list. We could prohibit this
possibility - in the IVOA HiPS document - but implementing such a
recommendation now will probably be difficult to obtain from all
HiPS providers in a short even medium term. On the other hand, it
is relatively easy to remove unnecessary empty lines when
generating the Hips list. This is the method usually used by HiPS
providers. For your help, there is a <a moz-do-not-send="true"
href="http://aladin.cds.unistra.fr/hips/perl_hipslist">small
perl script</a> available from CDS HiPS page that does this
easily.</p>
<p>Do not hesitate to contact us in case of problem<br>
Best regards<br>
Pierre Fernique<br>
</p>
<div class="moz-cite-prefix">Le 14/09/2023 à 01:18, Christine Banek
a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CAL-1mhmr43BbEvKnG9EPrVxHhCDyQegQkVdtz0gUdosF=Sm+Dw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">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.
<div><br>
</div>
<div>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.<br>
<div><br>
</div>
<div>In 4.4.1 The properties file it is said:</div>
<div><br>
</div>
<div>Blank lines must be ignored.</div>
<div><br>
</div>
<div>Then in 5.2 HiPS list:</div>
<div><br>
</div>
<div>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.<br>
</div>
<div><br>
</div>
<div>and then</div>
<div><br>
</div>
<div>In practice: a HiPS list may be easily generated as the
concatenation of the
properties files of all distributed HiPS, with blank line
separators<br>
</div>
<div><br>
</div>
<div>and then a footnote:</div>
<div><br>
</div>
<div>In this case, the possible blank lines inside a
properties file must be removed.<br>
</div>
<div><br>
</div>
<div>Thanks for dealing with my silliness.</div>
</div>
<div>Christine</div>
</div>
</blockquote>
</body>
</html>