1Licensed under the Academic Free License version 2.0 (below) 2Or under the following terms: 3 4This library is free software; you can redistribute it and/or 5modify it under the terms of the GNU Lesser General Public 6License as published by the Free Software Foundation; either 7version 2 of the License, or (at your option) any later version. 8 9This library is distributed in the hope that it will be useful, 10but WITHOUT ANY WARRANTY; without even the implied warranty of 11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12Lesser General Public License for more details. 13 14You should have received a copy of the GNU Lesser General Public 15License along with this library; if not, write to the 16Free Software Foundation, Inc., 59 Temple Place - Suite 330, 17Boston, MA 02111-1307, USA. 18 19 20-------------------------------------------------------------------------------- 21Academic Free License v. 2.0 22-------------------------------------------------------------------------------- 23 24This Academic Free License (the "License") applies to any original work of 25authorship (the "Original Work") whose owner (the "Licensor") has placed the 26following notice immediately following the copyright notice for the Original 27Work: 28 29Licensed under the Academic Free License version 2.0 301) Grant of Copyright License. Licensor hereby grants You a world-wide, 31royalty-free, non-exclusive, perpetual, sublicenseable license to do the 32following: 33 34a) to reproduce the Original Work in copies; 35b) to prepare derivative works ("Derivative Works") based upon the Original 36 Work; 37c) to distribute copies of the Original Work and Derivative Works to the 38 public; 39d) to perform the Original Work publicly; and 40e) to display the Original Work publicly. 41 422) Grant of Patent License. Licensor hereby grants You a world-wide, 43royalty-free, non-exclusive, perpetual, sublicenseable license, under patent 44claims owned or controlled by the Licensor that are embodied in the Original 45Work as furnished by the Licensor, to make, use, sell and offer for sale the 46Original Work and Derivative Works. 47 483) Grant of Source Code License. The term "Source Code" means the preferred 49form of the Original Work for making modifications to it and all available 50documentation describing how to modify the Original Work. Licensor hereby 51agrees to provide a machine-readable copy of the Source Code of the Original 52Work along with each copy of the Original Work that Licensor distributes. 53Licensor reserves the right to satisfy this obligation by placing a 54machine-readable copy of the Source Code in an information repository 55reasonably calculated to permit inexpensive and convenient access by You for as 56long as Licensor continues to distribute the Original Work, and by publishing 57the address of that information repository in a notice immediately following 58the copyright notice that applies to the Original Work. 59 604) Exclusions From License Grant. Neither the names of Licensor, nor the names 61of any contributors to the Original Work, nor any of their trademarks or 62service marks, may be used to endorse or promote products derived from this 63Original Work without express prior written permission of the Licensor. Nothing 64in this License shall be deemed to grant any rights to trademarks, copyrights, 65patents, trade secrets or any other intellectual property of Licensor except as 66expressly stated herein. No patent license is granted to make, use, sell or 67offer to sell embodiments of any patent claims other than the licensed claims 68defined in Section 2. No right is granted to the trademarks of Licensor even if 69such marks are included in the Original Work. Nothing in this License shall be 70interpreted to prohibit Licensor from licensing under different terms from this 71License any Original Work that Licensor otherwise would have a right to 72license. 73 745) This section intentionally omitted. 75 766) Attribution Rights. You must retain, in the Source Code of any Derivative 77Works that You create, all copyright, patent or trademark notices from the 78Source Code of the Original Work, as well as any notices of licensing and any 79descriptive text identified therein as an "Attribution Notice." You must cause 80the Source Code for any Derivative Works that You create to carry a prominent 81Attribution Notice reasonably calculated to inform recipients that You have 82modified the Original Work. 83 847) Warranty of Provenance and Disclaimer of Warranty. Licensor warrants that 85the copyright in and to the Original Work and the patent rights granted herein 86by Licensor are owned by the Licensor or are sublicensed to You under the terms 87of this License with the permission of the contributor(s) of those copyrights 88and patent rights. Except as expressly stated in the immediately proceeding 89sentence, the Original Work is provided under this License on an "AS IS" BASIS 90and WITHOUT WARRANTY, either express or implied, including, without limitation, 91the warranties of NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR 92PURPOSE. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL WORK IS WITH YOU. 93This DISCLAIMER OF WARRANTY constitutes an essential part of this License. No 94license to Original Work is granted hereunder except under this disclaimer. 95 968) Limitation of Liability. Under no circumstances and under no legal theory, 97whether in tort (including negligence), contract, or otherwise, shall the 98Licensor be liable to any person for any direct, indirect, special, incidental, 99or consequential damages of any character arising as a result of this License 100or the use of the Original Work including, without limitation, damages for loss 101of goodwill, work stoppage, computer failure or malfunction, or any and all 102other commercial damages or losses. This limitation of liability shall not 103apply to liability for death or personal injury resulting from Licensor's 104negligence to the extent applicable law prohibits such limitation. Some 105jurisdictions do not allow the exclusion or limitation of incidental or 106consequential damages, so this exclusion and limitation may not apply to You. 107 1089) Acceptance and Termination. If You distribute copies of the Original Work or 109a Derivative Work, You must make a reasonable effort under the circumstances to 110obtain the express assent of recipients to the terms of this License. Nothing 111else but this License (or another written agreement between Licensor and You) 112grants You permission to create Derivative Works based upon the Original Work 113or to exercise any of the rights granted in Section 1 herein, and any attempt 114to do so except under the terms of this License (or another written agreement 115between Licensor and You) is expressly prohibited by U.S. copyright law, the 116equivalent laws of other countries, and by international treaty. Therefore, by 117exercising any of the rights granted to You in Section 1 herein, You indicate 118Your acceptance of this License and all of its terms and conditions. 119 12010) Termination for Patent Action. This License shall terminate automatically 121and You may no longer exercise any of the rights granted to You by this License 122as of the date You commence an action, including a cross-claim or counterclaim, 123for patent infringement (i) against Licensor with respect to a patent 124applicable to software or (ii) against any entity with respect to a patent 125applicable to the Original Work (but excluding combinations of the Original 126Work with other software or hardware). 127 12811) Jurisdiction, Venue and Governing Law. Any action or suit relating to this 129License may be brought only in the courts of a jurisdiction wherein the 130Licensor resides or in which Licensor conducts its primary business, and under 131the laws of that jurisdiction excluding its conflict-of-law provisions. The 132application of the United Nations Convention on Contracts for the International 133Sale of Goods is expressly excluded. Any use of the Original Work outside the 134scope of this License or after its termination shall be subject to the 135requirements and penalties of the U.S. Copyright Act, 17 U.S.C. 101 et seq., 136the equivalent laws of other countries, and international treaty. This section 137shall survive the termination of this License. 138 13912) Attorneys Fees. In any action to enforce the terms of this License or 140seeking damages relating thereto, the prevailing party shall be entitled to 141recover its costs and expenses, including, without limitation, reasonable 142attorneys' fees and costs incurred in connection with such action, including 143any appeal of such action. This section shall survive the termination of this 144License. 145 14613) Miscellaneous. This License represents the complete agreement concerning 147the subject matter hereof. If any provision of this License is held to be 148unenforceable, such provision shall be reformed only to the extent necessary to 149make it enforceable. 150 15114) Definition of "You" in This License. "You" throughout this License, whether 152in upper or lower case, means an individual or a legal entity exercising rights 153under, and complying with all of the terms of, this License. For legal 154entities, "You" includes any entity that controls, is controlled by, or is 155under common control with you. For purposes of this definition, "control" means 156(i) the power, direct or indirect, to cause the direction or management of such 157entity, whether by contract or otherwise, or (ii) ownership of fifty percent 158(50%) or more of the outstanding shares, or (iii) beneficial ownership of such 159entity. 160 16115) Right to Use. You may use the Original Work in all ways not otherwise 162restricted or conditioned by this License or by law, and Licensor promises not 163to interfere with or be responsible for such uses by You. 164 165This license is Copyright (C) 2003 Lawrence E. Rosen. All rights reserved. 166Permission is hereby granted to copy and distribute this license without 167modification. This license may not be modified without the express written 168permission of its copyright owner. 169