components/tidy/tidy.license
author Rich Burridge <rich.burridge@oracle.com>
Mon, 08 Jul 2013 07:15:06 -0700
changeset 1380 5f7d10f6436d
parent 1205 6c6c27bcf9ac
child 6603 82e0c142e47f
permissions -rw-r--r--
17067203 tidy needs TPNO and license adjustments
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
1380
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
     3
	Copyright (c) 1998-2007 World Wide Web Consortium
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
     4
	(Massachusetts Institute of Technology, European Research 
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
     5
	Consortium for Informatics and Mathematics, Keio University).
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
     6
	All Rights Reserved.
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
     7
	
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
     8
	CVS Info :
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
     9
	
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    10
		$Author: arnaud02 $ 
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    11
		$Date: 2007/02/07 11:02:54 $ 
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    12
		$Revision: 1.20 $ 
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    13
	
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    14
	Contributing Author(s):
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    15
	
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    16
		Dave Raggett <[email protected]>
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    17
	
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    18
	The contributing author(s) would like to thank all those who
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    19
	helped with testing, bug fixes and suggestions for improvements. 
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    20
	This wouldn't have been possible without your help.
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    21
	
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    22
	COPYRIGHT NOTICE:
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    23
	
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    24
	This software and documentation is provided "as is," and
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    25
	the copyright holders and contributing author(s) make no
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    26
	representations or warranties, express or implied, including
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    27
	but not limited to, warranties of merchantability or fitness
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    28
	for any particular purpose or that the use of the software or
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    29
	documentation will not infringe any third party patents,
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    30
	copyrights, trademarks or other rights. 
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    31
	
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    32
	The copyright holders and contributing author(s) will not be held
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    33
	liable for any direct, indirect, special or consequential damages
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    34
	arising out of any use of the software or documentation, even if
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    35
	advised of the possibility of such damage.
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    36
	
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    37
	Permission is hereby granted to use, copy, modify, and distribute
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    38
	this source code, or portions hereof, documentation and executables,
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    39
	for any purpose, without fee, subject to the following restrictions:
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    40
	
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    41
	1. The origin of this source code must not be misrepresented.
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    42
	2. Altered versions must be plainly marked as such and must
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    43
	not be misrepresented as being the original source.
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    44
	3. This Copyright notice may not be removed or altered from any
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    45
	source or altered source distribution.
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    46
	
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    47
	The copyright holders and contributing author(s) specifically
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    48
	permit, without fee, and encourage the use of this source code
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    49
	as a component for supporting the Hypertext Markup Language in
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    50
	commercial products. If you use this source code in a product,
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    51
	acknowledgment is not required but would be appreciated.
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    52
	
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    53
	
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    54
	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
    55
	Updated 2002-07-01 by Charles Reitzel - 1st Implementation
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    56
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
    57
CODE FILES:
281
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    58
1380
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    59
/* tidylib.c -- internal library definitions
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    60
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    61
  (c) 1998-2007 (W3C) MIT, ERCIM, Keio University
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    62
  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
    63
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    64
  CVS Info :
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    65
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    66
    $Author: arnaud02 $ 
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    67
    $Date: 2007/02/07 12:08:31 $ 
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    68
    $Revision: 1.70 $ 
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
  Defines HTML Tidy API implemented by tidy library.
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    71
  
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    72
  Very rough initial cut for discussion purposes.
281
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    73
1380
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    74
  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
    75
  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
    76
  changing the interface.
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    77
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    78
  Looking ahead to a C++ wrapper, C functions always pass 
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    79
  this-equivalent as 1st arg.
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    80
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    81
  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
    82
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    83
*/
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    84
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    85
	This copyright header is present in all TIDY source code files. It always references
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    86
	the file tidy.h as the location of the COPYRIGHT and LICENSE information.
5f7d10f6436d 17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1205
diff changeset
    87
	The copyright start and end years vary from file to file.