/[debian]/libjxp-java/trunk/debian/copyright
ViewVC logotype

Contents of /libjxp-java/trunk/debian/copyright

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1781 - (show annotations)
Sat Aug 8 04:37:07 2009 UTC (11 years, 3 months ago) by tmancill
File size: 26047 byte(s)
include copy of Sun Public License in debian/copyright
1 The code was downloaded from http://sourceforge.net/projects/jxp/
2
3 Copyright and license:
4
5 Copyright (C) 2004 TiongHiang Lee
6
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Lesser General Public
9 License as published by the Free Software Foundation; either
10 version 2.1 of the License, or (at your option) any later version.
11
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Lesser General Public License for more details.
16
17 You should have received a copy of the GNU Lesser General Public License
18 along with this library; if not, write to the Free Software Foundation,
19 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
20
21 On Debian systems the GNU Lesser General Public License, version 2.1 can be
22 found at /usr/share/common-licenses/LGPL-2.1.
23
24 The Debian packaging is copyright 2009, gregor herrmann <gregoa@debian.org>
25 and tony mancill <tmancill@debian.org>, and is licensed under the same terms
26 as the software itself.
27
28 The files:
29
30 src/java/org/onemind/jxp/parser/JxpParser.jjt, and
31 src/java/org/onemind/jxp/parser/JxpParser.jj contain the additional note:
32
33 * Sun Public License Notice
34 *
35 * The contents of this file are subject to the Sun Public License
36 * Version 1.0 (the "License"). You may not use this file except in
37 * compliance with the License. A copy of the License is available at
38 * http://www.sun.com/
39 *
40 * The Original Code is JavaCC. The Initial Developer of the Original
41 * Code is Sun Microsystems, Inc. Portions Copyright 1996-2002 Sun
42 * Microsystems, Inc. All Rights Reserved.
43 */
44 /*
45 * Altered by Tiong Lee (thlee@onemindsoft.org) extensive to be a JJTree grammar
46 */
47
48 The text of the Sun Public License Version 1.0 is reproduce verbatim
49 here:
50
51 SUN PUBLIC LICENSE Version 1.0
52
53 1. Definitions.
54
55 1.0.1. "Commercial Use" means distribution or otherwise making the
56 Covered Code available to a third party.
57
58 1.1. "Contributor" means each entity that creates or contributes to
59 the creation of Modifications.
60
61 1.2. "Contributor Version" means the combination of the Original Code,
62 prior Modifications used by a Contributor, and the Modifications made
63 by that particular Contributor.
64
65 1.3. "Covered Code" means the Original Code or Modifications or the
66 combination of the Original Code and Modifications, in each case
67 including portions thereof and corresponding documentation released
68 with the source code.
69
70 1.4. "Electronic Distribution Mechanism" means a mechanism generally
71 accepted in the software development community for the electronic
72 transfer of data.
73
74 1.5. "Executable" means Covered Code in any form other than Source
75 Code.
76
77 1.6. "Initial Developer" means the individual or entity identified as
78 the Initial Developer in the Source Code notice required by Exhibit A.
79
80 1.7. "Larger Work" means a work which combines Covered Code or
81 portions thereof with code not governed by the terms of this License.
82
83 1.8. "License" means this document.
84
85 1.8.1. "Licensable" means having the right to grant, to the maximum
86 extent possible, whether at the time of the initial grant or
87 subsequently acquired, any and all of the rights conveyed herein.
88
89 1.9. "Modifications" means any addition to or deletion from the
90 substance or structure of either the Original Code or any previous
91 Modifications. When Covered Code is released as a series of files, a
92 Modification is:
93
94 A. Any addition to or deletion from the contents of a file containing
95 Original Code or previous Modifications.
96
97 B. Any new file that contains any part of the Original Code or
98 previous Modifications.
99
100 1.10. "Original Code" means Source Code of computer software code
101 which is described in the Source Code notice required by Exhibit A as
102 Original Code, and which, at the time of its release under this
103 License is not already Covered Code governed by this License.
104
105 1.10.1. "Patent Claims" means any patent claim(s), now owned or
106 hereafter acquired, including without limitation, method, process, and
107 apparatus claims, in any patent Licensable by grantor.
108
109 1.11. "Source Code" means the preferred form of the Covered Code for
110 making modifications to it, including all modules it contains, plus
111 any associated documentation, interface definition files, scripts used
112 to control compilation and installation of an Executable, or source
113 code differential comparisons against either the Original Code or
114 another well known, available Covered Code of the Contributor's
115 choice. The Source Code can be in a compressed or archival form,
116 provided the appropriate decompression or de-archiving software is
117 widely available for no charge.
118
119 1.12. "You" (or "Your") means an individual or a legal entity
120 exercising rights under, and complying with all of the terms of, this
121 License or a future version of this License issued under Section 6.1.
122 For legal entities, "You" includes any entity which controls, is
123 controlled by, or is under common control with You. For purposes of
124 this definition, "control" means (a) the power, direct or indirect, to
125 cause the direction or management of such entity, whether by contract
126 or otherwise, or (b) ownership of more than fifty percent (50%) of the
127 outstanding shares or beneficial ownership of such entity.
128
129 2. Source Code License.
130
131 2.1 The Initial Developer Grant.
132
133 The Initial Developer hereby grants You a world-wide, royalty-free,
134 non-exclusive license, subject to third party intellectual property
135 claims:
136
137 (a) under intellectual property rights (other than patent or
138 trademark) Licensable by Initial Developer to use, reproduce, modify,
139 display, perform, sublicense and distribute the Original Code (or
140 portions thereof) with or without Modifications, and/or as part of a
141 Larger Work; and
142
143 (b) under Patent Claims infringed by the making, using or selling of
144 Original Code, to make, have made, use, practice, sell, and offer for
145 sale, and/or otherwise dispose of the Original Code (or portions
146 thereof).
147
148 (c) the licenses granted in this Section 2.1(a) and (b) are effective
149 on the date Initial Developer first distributes Original Code under
150 the terms of this License.
151
152 (d) Notwithstanding Section 2.1(b) above, no patent license is
153 granted: 1) for code that You delete from the Original Code; 2)
154 separate from the Original Code; or 3) for infringements caused by:
155 i) the modification of the Original Code or ii) the combination of the
156 Original Code with other software or devices.
157
158 2.2. Contributor Grant.
159
160 Subject to third party intellectual property claims, each Contributor
161 hereby grants You a world-wide, royalty-free, non-exclusive license
162
163 (a) under intellectual property rights (other than patent or
164 trademark) Licensable by Contributor, to use, reproduce, modify,
165 display, perform, sublicense and distribute the Modifications created
166 by such Contributor (or portions thereof) either on an unmodified
167 basis, with other Modifications, as Covered Code and/or as part of a
168 Larger Work; and
169
170 (b) under Patent Claims infringed by the making, using, or selling of
171 Modifications made by that Contributor either alone and/or in
172 combination with its Contributor Version (or portions of such
173 combination), to make, use, sell, offer for sale, have made, and/or
174 otherwise dispose of: 1) Modifications made by that Contributor (or
175 portions thereof); and 2) the combination of Modifications made by
176 that Contributor with its Contributor Version (or portions of such
177 combination).
178
179 (c) the licenses granted in Sections 2.2(a) and 2.2(b) are effective
180 on the date Contributor first makes Commercial Use of the Covered
181 Code.
182
183 (d) notwithstanding Section 2.2(b) above, no patent license is
184 granted: 1) for any code that Contributor has deleted from the
185 Contributor Version; 2) separate from the Contributor Version; 3) for
186 infringements caused by: i) third party modifications of Contributor
187 Version or ii) the combination of Modifications made by that
188 Contributor with other software (except as part of the Contributor
189 Version) or other devices; or 4) under Patent Claims infringed by
190 Covered Code in the absence of Modifications made by that Contributor.
191
192 3. Distribution Obligations.
193
194 3.1. Application of License.
195
196 The Modifications which You create or to which You contribute are
197 governed by the terms of this License, including without limitation
198 Section 2.2. The Source Code version of Covered Code may be
199 distributed only under the terms of this License or a future version
200 of this License released under Section 6.1, and You must include a
201 copy of this License with every copy of the Source Code You
202 distribute. You may not offer or impose any terms on any Source Code
203 version that alters or restricts the applicable version of this
204 License or the recipients' rights hereunder. However, You may include
205 an additional document offering the additional rights described in
206 Section 3.5.
207
208 3.2. Availability of Source Code.
209
210 Any Modification which You create or to which You contribute must be
211 made available in Source Code form under the terms of this License
212 either on the same media as an Executable version or via an accepted
213 Electronic Distribution Mechanism to anyone to whom you made an
214 Executable version available; and if made available via Electronic
215 Distribution Mechanism, must remain available for at least twelve (12)
216 months after the date it initially became available, or at least six
217 (6) months after a subsequent version of that particular Modification
218 has been made available to such recipients. You are responsible for
219 ensuring that the Source Code version remains available even if the
220 Electronic Distribution Mechanism is maintained by a third party.
221
222 3.3. Description of Modifications.
223
224 You must cause all Covered Code to which You contribute to contain a
225 file documenting the changes You made to create that Covered Code and
226 the date of any change. You must include a prominent statement that
227 the Modification is derived, directly or indirectly, from Original
228 Code provided by the Initial Developer and including the name of the
229 Initial Developer in (a) the Source Code, and (b) in any notice in an
230 Executable version or related documentation in which You describe the
231 origin or ownership of the Covered Code.
232
233 3.4. Intellectual Property Matters.
234
235 (a) Third Party Claims.
236
237 If Contributor has knowledge that a license under a third party's
238 intellectual property rights is required to exercise the rights
239 granted by such Contributor under Sections 2.1 or 2.2, Contributor
240 must include a text file with the Source Code distribution titled
241 "LEGAL'' which describes the claim and the party making the claim in
242 sufficient detail that a recipient will know whom to contact. If
243 Contributor obtains such knowledge after the Modification is made
244 available as described in Section 3.2, Contributor shall promptly
245 modify the LEGAL file in all copies Contributor makes available
246 thereafter and shall take other steps (such as notifying appropriate
247 mailing lists or newsgroups) reasonably calculated to inform those who
248 received the Covered Code that new knowledge has been obtained.
249
250 (b) Contributor APIs.
251
252 If Contributor's Modifications include an application programming
253 interface ("API") and Contributor has knowledge of patent licenses
254 which are reasonably necessary to implement that API, Contributor must
255 also include this information in the LEGAL file.
256
257 (c) Representations.
258
259 Contributor represents that, except as disclosed pursuant to Section
260 3.4(a) above, Contributor believes that Contributor's Modifications
261 are Contributor's original creation(s) and/or Contributor has
262 sufficient rights to grant the rights conveyed by this License.
263
264 3.5. Required Notices.
265
266 You must duplicate the notice in Exhibit A in each file of the Source
267 Code. If it is not possible to put such notice in a particular Source
268 Code file due to its structure, then You must include such notice in a
269 location (such as a relevant directory) where a user would be likely
270 to look for such a notice. If You created one or more Modification(s)
271 You may add your name as a Contributor to the notice described in
272 Exhibit A. You must also duplicate this License in any documentation
273 for the Source Code where You describe recipients' rights or ownership
274 rights relating to Covered Code. You may choose to offer, and to
275 charge a fee for, warranty, support, indemnity or liability
276 obligations to one or more recipients of Covered Code. However, You
277 may do so only on Your own behalf, and not on behalf of the Initial
278 Developer or any Contributor. You must make it absolutely clear than
279 any such warranty, support, indemnity or liability obligation is
280 offered by You alone, and You hereby agree to indemnify the Initial
281 Developer and every Contributor for any liability incurred by the
282 Initial Developer or such Contributor as a result of warranty,
283 support, indemnity or liability terms You offer.
284
285 3.6. Distribution of Executable Versions.
286
287 You may distribute Covered Code in Executable form only if the
288 requirements of Section 3.1-3.5 have been met for that Covered Code,
289 and if You include a notice stating that the Source Code version of
290 the Covered Code is available under the terms of this License,
291 including a description of how and where You have fulfilled the
292 obligations of Section 3.2. The notice must be conspicuously included
293 in any notice in an Executable version, related documentation or
294 collateral in which You describe recipients' rights relating to the
295 Covered Code. You may distribute the Executable version of Covered
296 Code or ownership rights under a license of Your choice, which may
297 contain terms different from this License, provided that You are in
298 compliance with the terms of this License and that the license for the
299 Executable version does not attempt to limit or alter the recipient's
300 rights in the Source Code version from the rights set forth in this
301 License. If You distribute the Executable version under a different
302 license You must make it absolutely clear that any terms which differ
303 from this License are offered by You alone, not by the Initial
304 Developer or any Contributor. You hereby agree to indemnify the
305 Initial Developer and every Contributor for any liability incurred by
306 the Initial Developer or such Contributor as a result of any such
307 terms You offer.
308
309 3.7. Larger Works.
310
311 You may create a Larger Work by combining Covered Code with other code
312 not governed by the terms of this License and distribute the Larger
313 Work as a single product. In such a case, You must make sure the
314 requirements of this License are fulfilled for the Covered Code.
315
316 4. Inability to Comply Due to Statute or Regulation.
317
318 If it is impossible for You to comply with any of the terms of this
319 License with respect to some or all of the Covered Code due to
320 statute, judicial order, or regulation then You must: (a) comply with
321 the terms of this License to the maximum extent possible; and (b)
322 describe the limitations and the code they affect. Such description
323 must be included in the LEGAL file described in Section 3.4 and must
324 be included with all distributions of the Source Code. Except to the
325 extent prohibited by statute or regulation, such description must be
326 sufficiently detailed for a recipient of ordinary skill to be able to
327 understand it.
328
329 5. Application of this License.
330
331 This License applies to code to which the Initial Developer has
332 attached the notice in Exhibit A and to related Covered Code.
333
334 6. Versions of the License.
335
336 6.1. New Versions.
337
338 Sun Microsystems, Inc. ("Sun") may publish revised and/or new versions
339 of the License from time to time. Each version will be given a
340 distinguishing version number.
341
342 6.2. Effect of New Versions.
343
344 Once Covered Code has been published under a particular version of the
345 License, You may always continue to use it under the terms of that
346 version. You may also choose to use such Covered Code under the terms
347 of any subsequent version of the License published by Sun. No one
348 other than Sun has the right to modify the terms applicable to Covered
349 Code created under this License.
350
351 6.3. Derivative Works.
352
353 If You create or use a modified version of this License (which you may
354 only do in order to apply it to code which is not already Covered Code
355 governed by this License), You must: (a) rename Your license so that
356 the phrases "Sun," "Sun Public License," or "SPL" or any confusingly
357 similar phrase do not appear in your license (except to note that your
358 license differs from this License) and (b) otherwise make it clear
359 that Your version of the license contains terms which differ from the
360 Sun Public License. (Filling in the name of the Initial Developer,
361 Original Code or Contributor in the notice described in Exhibit A
362 shall not of themselves be deemed to be modifications of this
363 License.)
364
365 7. DISCLAIMER OF WARRANTY.
366
367 COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS'' BASIS,
368 WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
369 WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
370 DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
371 THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
372 IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
373 YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
374 COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
375 OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
376 ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
377
378 8. TERMINATION.
379
380 8.1. This License and the rights granted hereunder will terminate
381 automatically if You fail to comply with terms herein and fail to cure
382 such breach within 30 days of becoming aware of the breach. All
383 sublicenses to the Covered Code which are properly granted shall
384 survive any termination of this License. Provisions which, by their
385 nature, must remain in effect beyond the termination of this License
386 shall survive.
387
388 8.2. If You initiate litigation by asserting a patent infringement
389 claim (excluding declaratory judgment actions) against Initial Developer
390 or a Contributor (the Initial Developer or Contributor against whom
391 You file such action is referred to as "Participant") alleging that:
392
393 (a) such Participant's Contributor Version directly or indirectly
394 infringes any patent, then any and all rights granted by such
395 Participant to You under Sections 2.1 and/or 2.2 of this License
396 shall, upon 60 days notice from Participant terminate prospectively,
397 unless if within 60 days after receipt of notice You either: (i)
398 agree in writing to pay Participant a mutually agreeable reasonable
399 royalty for Your past and future use of Modifications made by such
400 Participant, or (ii) withdraw Your litigation claim with respect to
401 the Contributor Version against such Participant. If within 60 days
402 of notice, a reasonable royalty and payment arrangement are not
403 mutually agreed upon in writing by the parties or the litigation claim
404 is not withdrawn, the rights granted by Participant to You under
405 Sections 2.1 and/or 2.2 automatically terminate at the expiration of
406 the 60 day notice period specified above.
407
408 (b) any software, hardware, or device, other than such Participant's
409 Contributor Version, directly or indirectly infringes any patent, then
410 any rights granted to You by such Participant under Sections 2.1(b)
411 and 2.2(b) are revoked effective as of the date You first made, used,
412 sold, distributed, or had made, Modifications made by that
413 Participant.
414
415 8.3. If You assert a patent infringement claim against Participant
416 alleging that such Participant's Contributor Version directly or
417 indirectly infringes any patent where such claim is resolved (such as
418 by license or settlement) prior to the initiation of patent
419 infringement litigation, then the reasonable value of the licenses
420 granted by such Participant under Sections 2.1 or 2.2 shall be taken
421 into account in determining the amount or value of any payment or
422 license.
423
424 8.4. In the event of termination under Sections 8.1 or 8.2 above, all
425 end user license agreements (excluding distributors and resellers)
426 which have been validly granted by You or any distributor hereunder
427 prior to termination shall survive termination.
428
429 9. LIMITATION OF LIABILITY.
430
431 UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
432 (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
433 DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
434 OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
435 ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
436 CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
437 WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
438 COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
439 INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
440 LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
441 RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
442 PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
443 EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
444 THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
445
446 10. U.S. GOVERNMENT END USERS.
447
448 The Covered Code is a "commercial item," as that term is defined in 48
449 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer software"
450 and "commercial computer software documentation," as such terms are
451 used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R.
452 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all
453 U.S. Government End Users acquire Covered Code with only those rights
454 set forth herein.
455
456 11. MISCELLANEOUS.
457
458 This License represents the complete agreement concerning subject
459 matter hereof. If any provision of this License is held to be
460 unenforceable, such provision shall be reformed only to the extent
461 necessary to make it enforceable. This License shall be governed by
462 California law provisions (except to the extent applicable law, if
463 any, provides otherwise), excluding its conflict-of-law provisions.
464 With respect to disputes in which at least one party is a citizen of,
465 or an entity chartered or registered to do business in the United
466 States of America, any litigation relating to this License shall be
467 subject to the jurisdiction of the Federal Courts of the Northern
468 District of California, with venue lying in Santa Clara County,
469 California, with the losing party responsible for costs, including
470 without limitation, court costs and reasonable attorneys' fees and
471 expenses. The application of the United Nations Convention on
472 Contracts for the International Sale of Goods is expressly excluded.
473 Any law or regulation which provides that the language of a contract
474 shall be construed against the drafter shall not apply to this
475 License.
476
477 12. RESPONSIBILITY FOR CLAIMS.
478
479 As between Initial Developer and the Contributors, each party is
480 responsible for claims and damages arising, directly or indirectly,
481 out of its utilization of rights under this License and You agree to
482 work with Initial Developer and Contributors to distribute such
483 responsibility on an equitable basis. Nothing herein is intended or
484 shall be deemed to constitute any admission of liability.
485
486 13. MULTIPLE-LICENSED CODE.
487
488 Initial Developer may designate portions of the Covered Code as
489 ?Multiple-Licensed?. ?Multiple-Licensed? means that the Initial
490 Developer permits you to utilize portions of the Covered Code under
491 Your choice of the alternative licenses, if any, specified by the
492 Initial Developer in the file described in Exhibit A.
493
494 Exhibit A -Sun Public License Notice.
495
496 The contents of this file are subject to the Sun Public License
497 Version 1.0 (the "License"); you may not use this file except in
498 compliance with the License. A copy of the License is available at
499 http://www.sun.com/
500
501 The Original Code is _________________. The Initial Developer of the
502 Original Code is ___________. Portions created by ______ are Copyright
503 (C)_________. All Rights Reserved.
504
505 Contributor(s): ______________________________________.
506
507 Alternatively, the contents of this file may be used under the terms
508 of the _____ license (the ?[___] License?), in which case the
509 provisions of [______] License are applicable instead of those above.
510 If you wish to allow use of your version of this file only under the
511 terms of the [____] License and not to allow others to use your
512 version of this file under the SPL, indicate your decision by deleting
513 the provisions above and replace them with the notice and other
514 provisions required by the [___] License. If you do not delete the
515 provisions above, a recipient may use your version of this file under
516 either the SPL or the [___] License."
517
518 [NOTE: The text of this Exhibit A may differ slightly from the text of
519 the notices in the Source Code files of the Original Code. You should
520 use the text of this Exhibit A rather than the text found in the
521 Original Code Source Code for Your Modifications.]
522
523

  ViewVC Help
Powered by ViewVC 1.1.26