You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@any23.apache.org by Simone Tripodi <si...@apache.org> on 2012/05/03 22:21:35 UTC

missing ASL2.0 headers

Hi all guys,

I am trying to fill missing license headers as much as I can where
missing, unfortunately there are some files that, due to my lack of
knowledge, I don't know how to add comments (turtle, nquads) and there
is the org.apache.any23.Any23Test#testMicrodataSupport() fails when
adding the comment on the
core/src/test/resources/microdata/microdata-basic.html file.

Can anyone help me please?
TIA, all the best!
-Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/

Re: missing ASL2.0 headers

Posted by Szymon Danielczyk <da...@gmail.com>.
Hi Simon

for turtle
http://www.w3.org/TeamSubmission/turtle/#sec-grammar-comments

for nquads
http://www.w3.org/2001/sw/RDFCore/ntriples/

basically the # should do it in both cases

Cheers
Szymon

On 3 May 2012 21:21, Simone Tripodi <si...@apache.org> wrote:
> Hi all guys,
>
> I am trying to fill missing license headers as much as I can where
> missing, unfortunately there are some files that, due to my lack of
> knowledge, I don't know how to add comments (turtle, nquads) and there
> is the org.apache.any23.Any23Test#testMicrodataSupport() fails when
> adding the comment on the
> core/src/test/resources/microdata/microdata-basic.html file.
>
> Can anyone help me please?
> TIA, all the best!
> -Simo
>
> http://people.apache.org/~simonetripodi/
> http://simonetripodi.livejournal.com/
> http://twitter.com/simonetripodi
> http://www.99soft.org/

Re: missing ASL2.0 headers

Posted by Simone Tripodi <si...@apache.org>.
Thanks both guys, much more than appreciated!!!

have a nice day, all the best,
-Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/


On Fri, May 4, 2012 at 10:11 AM, Andy Seaborne <an...@apache.org> wrote:
> On 03/05/12 21:21, Simone Tripodi wrote:
>>
>> Hi all guys,
>>
>> I am trying to fill missing license headers as much as I can where
>> missing, unfortunately there are some files that, due to my lack of
>> knowledge, I don't know how to add comments (turtle, nquads) and there
>> is the org.apache.any23.Any23Test#testMicrodataSupport() fails when
>> adding the comment on the
>> core/src/test/resources/microdata/microdata-basic.html file.
>>
>> Can anyone help me please?
>> TIA, all the best!
>> -Simo
>>
>> http://people.apache.org/~simonetripodi/
>> http://simonetripodi.livejournal.com/
>> http://twitter.com/simonetripodi
>> http://www.99soft.org/
>
>
> Turtle, N-Quads; The comment character is #
>
> So the one liner for small files is:
> -----
> # Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0
> -----
>
> Putting headers on data and testing materials was one of Jena's issues.
>  Putting 16 line headers on 4 line files is silly.  Much writing of
> find/xargs/perl -i.bak scripts.
>
> In the end, small test files didn't get anything, short scripts got the one
> liner and scripts with real work got the 14 line header.
>
>        HTH
>        Andy

Re: missing ASL2.0 headers

Posted by Andy Seaborne <an...@apache.org>.
On 03/05/12 21:21, Simone Tripodi wrote:
> Hi all guys,
>
> I am trying to fill missing license headers as much as I can where
> missing, unfortunately there are some files that, due to my lack of
> knowledge, I don't know how to add comments (turtle, nquads) and there
> is the org.apache.any23.Any23Test#testMicrodataSupport() fails when
> adding the comment on the
> core/src/test/resources/microdata/microdata-basic.html file.
>
> Can anyone help me please?
> TIA, all the best!
> -Simo
>
> http://people.apache.org/~simonetripodi/
> http://simonetripodi.livejournal.com/
> http://twitter.com/simonetripodi
> http://www.99soft.org/

Turtle, N-Quads; The comment character is #

So the one liner for small files is:
-----
# Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0
-----

Putting headers on data and testing materials was one of Jena's issues. 
  Putting 16 line headers on 4 line files is silly.  Much writing of 
find/xargs/perl -i.bak scripts.

In the end, small test files didn't get anything, short scripts got the 
one liner and scripts with real work got the 14 line header.

	HTH
	Andy