You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Vincent Hennebert <vh...@gmail.com> on 2009/10/20 18:34:02 UTC
License Headers in Test Files? [was: Re: svn commit: r827725 - in
/xmlgraphics/fop/branches/Temp_Accessibility/test: accessibility/ accessibility/pdf/
resources/images/]
Hi,
In doubt, I added them, but is it actually necessary to put license
headers in such test files? The header is bigger than the actual
content...
Vincent
> Added: xmlgraphics/fop/branches/Temp_Accessibility/test/accessibility/background-image_jpg_repeat.fo
> URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_Accessibility/test/accessibility/background-image_jpg_repeat.fo?rev=827725&view=auto
> ==============================================================================
> --- xmlgraphics/fop/branches/Temp_Accessibility/test/accessibility/background-image_jpg_repeat.fo (added)
> +++ xmlgraphics/fop/branches/Temp_Accessibility/test/accessibility/background-image_jpg_repeat.fo Tue Oct 20 16:24:44 2009
> @@ -0,0 +1,34 @@
> +<?xml version="1.0"?>
> +<!--
> + Licensed to the Apache Software Foundation (ASF) under one or more
> + contributor license agreements. See the NOTICE file distributed with
> + this work for additional information regarding copyright ownership.
> + The ASF licenses this file to You under the Apache License, Version 2.0
> + (the "License"); you may not use this file except in compliance with
> + the License. You may obtain a copy of the License at
> +
> + http://www.apache.org/licenses/LICENSE-2.0
> +
> + Unless required by applicable law or agreed to in writing, software
> + distributed under the License is distributed on an "AS IS" BASIS,
> + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> + See the License for the specific language governing permissions and
> + limitations under the License.
> +-->
> +<!-- $Id$ -->
> +<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
> + <fo:layout-master-set>
> + <fo:simple-page-master master-name="page"
> + page-height="220pt" page-width="320pt" margin="10pt">
> + <fo:region-body background-image="../resources/images/bgimg72dpi.jpg"/>
> + </fo:simple-page-master>
> + </fo:layout-master-set>
> + <fo:page-sequence master-reference="page" language="en" country="GB">
> + <fo:flow flow-name="xsl-region-body" hyphenate="true" text-align="justify">
> + <fo:block>Apache FOP (Formatting Objects Processor) is a print formatter driven by XSL
> + formatting objects (XSL-FO) and an output independent formatter. It is a Java application
> + that reads a formatting object (FO) tree and renders the resulting pages to a specified
> + output.</fo:block>
> + </fo:flow>
> + </fo:page-sequence>
> +</fo:root>
Re: License Headers in Test Files? [was: Re: svn commit: r827725 - in /xmlgraphics/fop/branches/Temp_Accessibility/test: accessibility/ accessibility/pdf/ resources/images/]
Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
You did the right thing.
From http://www.apache.org/legal/src-headers.html#faq:
> What files in an Apache release do not require a license header?
>
> A file without any degree of creativity in either its literal elements
> or its structure is not protected by copyright law; therefore, such a
> file does not require a license header. If in doubt about the extent of
> the file's creativity, add the license header to the file.
If you ran RAT (http://incubator.apache.org/rat/), such a file without a
license header would light up.
On 20.10.2009 18:34:02 Vincent Hennebert wrote:
> Hi,
>
> In doubt, I added them, but is it actually necessary to put license
> headers in such test files? The header is bigger than the actual
> content...
>
> Vincent
>
>
> > Added: xmlgraphics/fop/branches/Temp_Accessibility/test/accessibility/background-image_jpg_repeat.fo
> > URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_Accessibility/test/accessibility/background-image_jpg_repeat.fo?rev=827725&view=auto
> > ==============================================================================
> > --- xmlgraphics/fop/branches/Temp_Accessibility/test/accessibility/background-image_jpg_repeat.fo (added)
> > +++ xmlgraphics/fop/branches/Temp_Accessibility/test/accessibility/background-image_jpg_repeat.fo Tue Oct 20 16:24:44 2009
> > @@ -0,0 +1,34 @@
> > +<?xml version="1.0"?>
> > +<!--
> > + Licensed to the Apache Software Foundation (ASF) under one or more
> > + contributor license agreements. See the NOTICE file distributed with
> > + this work for additional information regarding copyright ownership.
> > + The ASF licenses this file to You under the Apache License, Version 2.0
> > + (the "License"); you may not use this file except in compliance with
> > + the License. You may obtain a copy of the License at
> > +
> > + http://www.apache.org/licenses/LICENSE-2.0
> > +
> > + Unless required by applicable law or agreed to in writing, software
> > + distributed under the License is distributed on an "AS IS" BASIS,
> > + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> > + See the License for the specific language governing permissions and
> > + limitations under the License.
> > +-->
> > +<!-- $Id$ -->
> > +<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
> > + <fo:layout-master-set>
> > + <fo:simple-page-master master-name="page"
> > + page-height="220pt" page-width="320pt" margin="10pt">
> > + <fo:region-body background-image="../resources/images/bgimg72dpi.jpg"/>
> > + </fo:simple-page-master>
> > + </fo:layout-master-set>
> > + <fo:page-sequence master-reference="page" language="en" country="GB">
> > + <fo:flow flow-name="xsl-region-body" hyphenate="true" text-align="justify">
> > + <fo:block>Apache FOP (Formatting Objects Processor) is a print formatter driven by XSL
> > + formatting objects (XSL-FO) and an output independent formatter. It is a Java application
> > + that reads a formatting object (FO) tree and renders the resulting pages to a specified
> > + output.</fo:block>
> > + </fo:flow>
> > + </fo:page-sequence>
> > +</fo:root>
Jeremias Maerki