1*4882a593SmuzhiyunSun Industry Standards Source License - Version 1.1 2*4882a593Smuzhiyun 3*4882a593Smuzhiyun1.0 DEFINITIONS 4*4882a593Smuzhiyun 5*4882a593Smuzhiyun 1.1 "Commercial Use" means distribution or otherwise making the Original Code available to a third party. 6*4882a593Smuzhiyun 7*4882a593Smuzhiyun 1.2 "Contributor Version" means the combination of the Original Code, and the Modifications made by that particular Contributor. 8*4882a593Smuzhiyun 9*4882a593Smuzhiyun 1.3 "Electronic Distribution Mechanism" means a mechanism generally accepted in the software development community for the electronic transfer of data. 10*4882a593Smuzhiyun 11*4882a593Smuzhiyun 1.4 "Executable" means Original Code in any form other than Source Code. 12*4882a593Smuzhiyun 13*4882a593Smuzhiyun 1.5 "Initial Developer" means the individual or entity identified as the Initial Developer in the Source Code notice required by Exhibit A. 14*4882a593Smuzhiyun 15*4882a593Smuzhiyun 1.6 "Larger Work" means a work which combines Original Code or portions thereof with code not governed by the terms of this License. 16*4882a593Smuzhiyun 17*4882a593Smuzhiyun 1.7 "License" means this document. 18*4882a593Smuzhiyun 19*4882a593Smuzhiyun 1.8 "Licensable" means having the right to grant, to the maximum extent possible, whether at the time of the initial grant or subsequently acquired, any and all of the rights conveyed herein. 20*4882a593Smuzhiyun 21*4882a593Smuzhiyun 1.9 "Modifications" means any addition to or deletion from the substance or structure of either the Original Code or any previous Modifications. A Modification is: 22*4882a593Smuzhiyun 23*4882a593Smuzhiyun A. Any addition to or deletion from the contents of a file containing Original Code or previous Modifications. 24*4882a593Smuzhiyun 25*4882a593Smuzhiyun B. Any new file that contains any part of the Original Code or previous Modifications. 26*4882a593Smuzhiyun 27*4882a593Smuzhiyun 1.10 "Original Code" means Source Code of computer software code which is described in the Source Code notice required by Exhibit A as Original Code. 28*4882a593Smuzhiyun 29*4882a593Smuzhiyun 1.11 "Patent Claims" means any patent claim(s), now owned or hereafter acquired, including without limitation, method, process, and apparatus claims, in any patent Licensable by grantor. 30*4882a593Smuzhiyun 31*4882a593Smuzhiyun 1.12 "Source Code" means the preferred form of the Original Code for making modifications to it, including all modules it contains, plus any associated interface definition files, or scripts used to control compilation and installation of an Executable. 32*4882a593Smuzhiyun 33*4882a593Smuzhiyun 1.13 "Standards" means the standards identified in Exhibit B. 34*4882a593Smuzhiyun 35*4882a593Smuzhiyun 1.14 "You" (or "Your") means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License or a future version of this License issued under Section 6.1. For legal entities, "You'' includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, "control'' means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of more than fifty percent (50%) of the outstanding shares or beneficial ownership of such entity. 36*4882a593Smuzhiyun 37*4882a593Smuzhiyun2.0 SOURCE CODE LICENSE 38*4882a593Smuzhiyun 39*4882a593Smuzhiyun 2.1 The Initial Developer Grant The Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license, subject to third party intellectual property claims: 40*4882a593Smuzhiyun 41*4882a593Smuzhiyun (a) under intellectual property rights (other than patent or trademark) Licensable by Initial Developer to use, reproduce, modify, display, perform, sublicense and distribute the Original Code (or portions thereof) with or without Modifications, and/or as part of a Larger Work; and 42*4882a593Smuzhiyun 43*4882a593Smuzhiyun (b) under Patents Claims infringed by the making, using or selling of Original Code, to make, have made, use, practice, sell, and offer for sale, and/or otherwise dispose of the Original Code (or portions thereof). 44*4882a593Smuzhiyun (c) the licenses granted in this Section 2.1(a) and (b) are effective on the date Initial Developer first distributes Original Code under the terms of this License. 45*4882a593Smuzhiyun (d) Notwithstanding Section 2.1(b) above, no patent license is granted: 1) for code that You delete from the Original Code; 2) separate from the Original Code; or 3) for infringements caused by: i) the modification of the Original Code or ii) the combination of the Original Code with other software or devices, including but not limited to Modifications. 46*4882a593Smuzhiyun 47*4882a593Smuzhiyun3.0 DISTRIBUTION OBLIGATIONS 48*4882a593Smuzhiyun 49*4882a593Smuzhiyun 3.1 Application of License. The Source Code version of Original Code may be distributed only under the terms of this License or a future version of this License released under Section 6.1, and You must include a copy of this License with every copy of the Source Code You distribute. You may not offer or impose any terms on any Source Code version that alters or restricts the applicable version of this License or the recipients' rights hereunder. Your license for shipment of the Contributor Version is conditioned upon Your full compliance with this Section. The Modifications which You create must comply with all requirements set out by the Standards body in effect one hundred twenty (120) days before You ship the Contributor Version. In the event that the Modifications do not meet such requirements, You agree to publish either (i) any deviation from the Standards protocol resulting from implementation of Your Modifications and a reference implementation of Your Modifications or (ii) Your Modifications in Source Code form, and to make any such deviation and reference implementation or Modifications available to all third parties under the same terms as this license on a royalty free basis within thirty (30) days of Your first customer shipment of Your Modifications. 50*4882a593Smuzhiyun 51*4882a593Smuzhiyun 3.2 Required Notices. You must duplicate the notice in Exhibit A in each file of the Source Code. If it is not possible to put such notice in a particular Source Code file due to its structure, then You must include such notice in a location (such as a relevant directory) where a user would be likely to look for such a notice. If You created one or more Modification(s) You may add Your name as a Contributor to the notice described in Exhibit A. You must also duplicate this License in any documentation for the Source Code where You describe recipients' rights or ownership rights relating to Initial Code. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Your version of the Code. However, You may do so only on Your own behalf, and not on behalf of the Initial Developer. You must make it absolutely clear than any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer for any liability incurred by the Initial Developer as a result of warranty, support, indemnity or liability terms You offer. 52*4882a593Smuzhiyun 53*4882a593Smuzhiyun 3.3 Distribution of Executable Versions. You may distribute Original Code in Executable and Source form only if the requirements of Sections 3.1 and 3.2 have been met for that Original Code, and if You include a notice stating that the Source Code version of the Original Code is available under the terms of this License. The notice must be conspicuously included in any notice in an Executable or Source versions, related documentation or collateral in which You describe recipients' rights relating to the Original Code. You may distribute the Executable and Source versions of Your version of the Code or ownership rights under a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License. If You distribute the Executable and Source versions under a different license You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer. You hereby agree to indemnify the Initial Developer for any liability incurred by the Initial Developer as a result of any such terms You offer. 54*4882a593Smuzhiyun 55*4882a593Smuzhiyun 3.4 Larger Works. You may create a Larger Work by combining Original Code with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Original Code. 56*4882a593Smuzhiyun 57*4882a593Smuzhiyun4.0 INABILITY TO COMPLY DUE TO STATUTE OR REGULATION 58*4882a593Smuzhiyun 59*4882a593SmuzhiyunIf it is impossible for You to comply with any of the terms of this License with respect to some or all of the Original Code due to statute, judicial order, or regulation then You must: (a) comply with the terms of this License to the maximum extent possible; and (b) describe the limitations and the code they affect. Such description must be included in the LEGAL file described in Section 3.2 and must be included with all distributions of the Source Code. Except to the extent prohibited by statute or regulation, such description must be sufficiently detailed for a recipient of ordinary skill to be able to understand it. 60*4882a593Smuzhiyun 61*4882a593Smuzhiyun5.0 APPLICATION OF THIS LICENSE 62*4882a593Smuzhiyun 63*4882a593SmuzhiyunThis License applies to code to which the Initial Developer has attached the notice in Exhibit A and to related Modifications as set out in Section 3.1. 64*4882a593Smuzhiyun 65*4882a593Smuzhiyun6.0 VERSIONS OF THE LICENSE 66*4882a593Smuzhiyun 67*4882a593Smuzhiyun 6.1 New Versions. Sun may publish revised and/or new versions of the License from time to time. Each version will be given a distinguishing version number. 68*4882a593Smuzhiyun 69*4882a593Smuzhiyun 6.2 Effect of New Versions. Once Original Code has been published under a particular version of the License, You may always continue to use it under the terms of that version. You may also choose to use such Original Code under the terms of any subsequent version of the License published by Sun. No one other than Sun has the right to modify the terms applicable to Original Code. 70*4882a593Smuzhiyun 71*4882a593Smuzhiyun7.0 DISCLAIMER OF WARRANTY 72*4882a593Smuzhiyun 73*4882a593SmuzhiyunORIGINAL CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE ORIGINAL CODE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE ORIGINAL CODE IS WITH YOU. SHOULD ANY ORIGINAL CODE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY ORIGINAL CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. 74*4882a593Smuzhiyun 75*4882a593Smuzhiyun8.0 TERMINATION 76*4882a593Smuzhiyun 77*4882a593Smuzhiyun 8.1 This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. All sublicenses to the Original Code which are properly granted shall survive any termination of this License. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive. 78*4882a593Smuzhiyun 79*4882a593Smuzhiyun 8.2 In the event of termination under Section 8.1 above, all end user license agreements (excluding distributors and resellers) which have been validly granted by You or any distributor hereunder prior to termination shall survive termination. 80*4882a593Smuzhiyun 81*4882a593Smuzhiyun9.0 LIMIT OF LIABILITY 82*4882a593Smuzhiyun 83*4882a593SmuzhiyunUNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF ORIGINAL CODE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. 84*4882a593Smuzhiyun 85*4882a593Smuzhiyun10.0 U.S. GOVERNMENT END USERS 86*4882a593Smuzhiyun 87*4882a593SmuzhiyunU.S. Government: If this Software is being acquired by or on behalf of the U.S. Government or by a U.S. Government prime contractor or subcontractor (at any tier), then the Government's rights in the Software and accompanying documentation shall be only as set forth in this license; this is in accordance with 48 C.F.R. 227.7201 through 227.7202-4 (for Department of Defense (DoD) acquisitions) and with 48 C.F.R. 2.101 and 12.212 (for non-DoD acquisitions). 88*4882a593Smuzhiyun 89*4882a593Smuzhiyun11.0 MISCELLANEOUS 90*4882a593Smuzhiyun 91*4882a593SmuzhiyunThis License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by California law provisions (except to the extent applicable law, if any, provides otherwise), excluding its conflict-of-law provisions. With respect to disputes in which at least one party is a citizen of, or an entity chartered or registered to do business in the United States of America, any litigation relating to this License shall be subject to the jurisdiction of the Federal Courts of the Northern District of California, with venue lying in Santa Clara County, California, with the losing party responsible for costs, including without limitation, court costs and reasonable attorneys' fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License. 92*4882a593Smuzhiyun 93*4882a593SmuzhiyunEXHIBIT A - Sun Standards License 94*4882a593Smuzhiyun 95*4882a593Smuzhiyun"The contents of this file are subject to the Sun Standards License Version 1.1 (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at _______________________________. 96*4882a593Smuzhiyun 97*4882a593SmuzhiyunSoftware distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either 98*4882a593Smuzhiyunexpress or implied. See the License for the specific language governing rights and limitations under the License. 99*4882a593Smuzhiyun 100*4882a593SmuzhiyunThe Original Code is ______________________________________. 101*4882a593Smuzhiyun 102*4882a593SmuzhiyunThe Initial Developer of the Original Code is: 103*4882a593SmuzhiyunSun Microsystems, Inc.. 104*4882a593Smuzhiyun 105*4882a593SmuzhiyunPortions created by: _______________________________________ 106*4882a593Smuzhiyun 107*4882a593Smuzhiyunare Copyright (C): _______________________________________ 108*4882a593Smuzhiyun 109*4882a593SmuzhiyunAll Rights Reserved. 110*4882a593Smuzhiyun 111*4882a593SmuzhiyunContributor(s): _______________________________________ 112*4882a593SmuzhiyunEXHIBIT B - Standards 113*4882a593Smuzhiyun 114*4882a593SmuzhiyunThe Standard is defined as the following: 115*4882a593SmuzhiyunOpenOffice.org XML File Format Specification, located at http://xml.openoffice.org 116*4882a593SmuzhiyunOpenOffice.org Application Programming Interface Specification, located at http://api.openoffice.org 117