components/tidy/tidy.license
author Jingning Ji <jingning.ji@oracle.com>
Thu, 13 Oct 2016 15:53:44 -0700
changeset 7113 cca3def5f97d
parent 6603 82e0c142e47f
child 7855 beb81c36d5c4
permissions -rw-r--r--
24759774 Upgrade xml-libxml to 2.0128
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1380
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
     1
The TIDY License:
281
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     2
6603
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
     3
  Copyright (c) 1998-2015 World Wide Web Consortium
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
     4
  (Massachusetts Institute of Technology, European Research
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
     5
  Consortium for Informatics and Mathematics, Keio University).
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
     6
  All Rights Reserved.
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
     7
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
     8
  Contributing Author(s):
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
     9
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    10
     Dave Raggett <[email protected]>
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    11
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    12
  The contributing author(s) would like to thank all those who
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    13
  helped with testing, bug fixes and suggestions for improvements.
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    14
  This wouldn't have been possible without your help.
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    15
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    16
  COPYRIGHT NOTICE:
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    17
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    18
  This software and documentation is provided "as is," and
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    19
  the copyright holders and contributing author(s) make no
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    20
  representations or warranties, express or implied, including
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    21
  but not limited to, warranties of merchantability or fitness
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    22
  for any particular purpose or that the use of the software or
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    23
  documentation will not infringe any third party patents,
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    24
  copyrights, trademarks or other rights.
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    25
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    26
  The copyright holders and contributing author(s) will not be held
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    27
  liable for any direct, indirect, special or consequential damages
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    28
  arising out of any use of the software or documentation, even if
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    29
  advised of the possibility of such damage.
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    30
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    31
  Permission is hereby granted to use, copy, modify, and distribute
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    32
  this source code, or portions hereof, documentation and executables,
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    33
  for any purpose, without fee, subject to the following restrictions:
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    34
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    35
  1. The origin of this source code must not be misrepresented.
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    36
  2. Altered versions must be plainly marked as such and must
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    37
     not be misrepresented as being the original source.
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    38
  3. This Copyright notice may not be removed or altered from any
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    39
     source or altered source distribution.
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    40
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    41
  The copyright holders and contributing author(s) specifically
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    42
  permit, without fee, and encourage the use of this source code
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    43
  as a component for supporting the Hypertext Markup Language in
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    44
  commercial products. If you use this source code in a product,
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    45
  acknowledgment is not required but would be appreciated.
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    46
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    47
1380
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    48
ADDITIONAL README AND COPYRIGHT NOTICES PRESENT IN SOURCE
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    49
CODE FILES:
281
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    50
1380
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    51
/* tidylib.c -- internal library definitions
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    52
6603
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    53
  (c) 1998-2008 (W3C) MIT, ERCIM, Keio University
1380
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    54
  See tidy.h for the copyright notice.
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    55
6603
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    56
  Defines HTML Tidy API implemented by tidy library.
1380
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    57
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    58
  Very rough initial cut for discussion purposes.
281
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    59
1380
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    60
  Public interface is const-correct and doesn't explicitly depend
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    61
  on any globals.  Thus, thread-safety may be introduced w/out
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    62
  changing the interface.
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    63
6603
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    64
  Looking ahead to a C++ wrapper, C functions always pass
1380
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    65
  this-equivalent as 1st arg.
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    66
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    67
  Created 2001-05-20 by Charles Reitzel
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    68
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    69
*/
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    70
6603
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    71
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    72
This copyright header is present in all TIDY source code files. It always
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    73
references the file tidy.h as the location of the COPYRIGHT and LICENSE
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    74
information.
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 1380
diff changeset
    75
The copyright start and end years vary from file to file.