1BSD style license 2 3Redistribution and use of this software and associated documentation 4("Software"), with or without modification, are permitted provided that 5the following conditions are met: 6 7 1. Redistributions of source code must retain copyright statements 8 and notices. Redistributions must also contain a copy of this 9 document. 10 11 2. Redistributions in binary form must reproduce the above 12 copyright notice, this list of conditions and the following 13 disclaimer in the documentation and/or other materials provided 14 with the distribution. 15 16 3. The name "DOM4J" must not be used to endorse or promote 17 products derived from this Software without prior written 18 permission of MetaStuff, Ltd. For written permission, please 19 contact dom4j-info@metastuff.com. 20 21 4. Products derived from this Software may not be called "DOM4J" 22 nor may "DOM4J" appear in their names without prior written 23 permission of MetaStuff, Ltd. DOM4J is a registered trademark of 24 MetaStuff, Ltd. 25 26 5. Due credit should be given to the DOM4J Project 27 (http://dom4j.org/). 28 29THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS ``AS IS'' 30AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 31THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 32PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL METASTUFF, LTD. OR ITS 33CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 34EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 35PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 36PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 37LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 38NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 39SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 40 41Copyright 2001 (C) MetaStuff, Ltd. All Rights Reserved. 42