1 This is for the HTML parser as a whole except the rewindable input stream, 2 the named character classes and the Live DOM Viewer. 3 For the copyright notices for individual files, please see individual files. 4 5 /* 6 * Copyright (c) 2005, 2006, 2007 Henri Sivonen 7 * Copyright (c) 2007-2011 Mozilla Foundation 8 * Portions of comments Copyright 2004-2007 Apple Computer, Inc., Mozilla 9 * Foundation, and Opera Software ASA. 10 * 11 * Permission is hereby granted, free of charge, to any person obtaining a 12 * copy of this software and associated documentation files (the "Software"), 13 * to deal in the Software without restriction, including without limitation 14 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 15 * and/or sell copies of the Software, and to permit persons to whom the 16 * Software is furnished to do so, subject to the following conditions: 17 * 18 * The above copyright notice and this permission notice shall be included in 19 * all copies or substantial portions of the Software. 20 * 21 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 22 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 23 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 24 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 25 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 26 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 27 * DEALINGS IN THE SOFTWARE. 28 */ 29 30 The following license is for the WHATWG spec from which the named character 31 data was extracted. 32 33 /* 34 * Copyright 2004-2010 Apple Computer, Inc., Mozilla Foundation, and Opera 35 * Software ASA. 36 * 37 * You are granted a license to use, reproduce and create derivative works of 38 * this document. 39 */ 40 41 The following license is for the rewindable input stream. 42 43 /* 44 * Copyright (c) 2001-2003 Thai Open Source Software Center Ltd 45 * All rights reserved. 46 * 47 * Redistribution and use in source and binary forms, with or without 48 * modification, are permitted provided that the following conditions 49 * are met: 50 * 51 * * Redistributions of source code must retain the above copyright 52 * notice, this list of conditions and the following disclaimer. 53 * * Redistributions in binary form must reproduce the above 54 * copyright notice, this list of conditions and the following 55 * disclaimer in the documentation and/or other materials provided 56 * with the distribution. 57 * * Neither the name of the Thai Open Source Software Center Ltd nor 58 * the names of its contributors may be used to endorse or promote 59 * products derived from this software without specific prior 60 * written permission. 61 * 62 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 63 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 64 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 65 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 66 * REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 67 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 68 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 69 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 70 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 71 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 72 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 73 * POSSIBILITY OF SUCH DAMAGE. 74 */ 75 76 The following license applies to the Live DOM Viewer: 77 78 Copyright (c) 2000, 2006, 2008 Ian Hickson and various contributors 79 80 Permission is hereby granted, free of charge, to any person obtaining a copy 81 of this software and associated documentation files (the "Software"), to deal 82 in the Software without restriction, including without limitation the rights 83 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 84 copies of the Software, and to permit persons to whom the Software is 85 furnished to do so, subject to the following conditions: 86 87 The above copyright notice and this permission notice shall be included in 88 all copies or substantial portions of the Software. 89 90 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 91 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 92 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 93 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 94 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 95 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 96 THE SOFTWARE. 97