Skip to content

Commit 2ddf27d

Browse files
committed
Initial commit from SF
just added a pom.xml and resolved some javadoc issues
1 parent 9fb7413 commit 2ddf27d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+33951
-59
lines changed

.gitattributes

+1-16
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,2 @@
11
# Auto detect text files and perform LF normalization
2-
* text=auto
3-
4-
# Custom for Visual Studio
5-
*.cs diff=csharp
6-
7-
# Standard to msysgit
8-
*.doc diff=astextplain
9-
*.DOC diff=astextplain
10-
*.docx diff=astextplain
11-
*.DOCX diff=astextplain
12-
*.dot diff=astextplain
13-
*.DOT diff=astextplain
14-
*.pdf diff=astextplain
15-
*.PDF diff=astextplain
16-
*.rtf diff=astextplain
17-
*.RTF diff=astextplain
2+
* text=auto

.gitignore

+9-43
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,9 @@
1-
# Windows image file caches
2-
Thumbs.db
3-
ehthumbs.db
4-
5-
# Folder config file
6-
Desktop.ini
7-
8-
# Recycle Bin used on file shares
9-
$RECYCLE.BIN/
10-
11-
# Windows Installer files
12-
*.cab
13-
*.msi
14-
*.msm
15-
*.msp
16-
17-
# Windows shortcuts
18-
*.lnk
19-
20-
# =========================
21-
# Operating System Files
22-
# =========================
23-
24-
# OSX
25-
# =========================
26-
27-
.DS_Store
28-
.AppleDouble
29-
.LSOverride
30-
31-
# Thumbnails
32-
._*
33-
34-
# Files that might appear on external disk
35-
.Spotlight-V100
36-
.Trashes
37-
38-
# Directories potentially created on remote AFP share
39-
.AppleDB
40-
.AppleDesktop
41-
Network Trash Folder
42-
Temporary Items
43-
.apdisk
1+
target/
2+
pom.xml.tag
3+
pom.xml.releaseBackup
4+
pom.xml.versionsBackup
5+
pom.xml.next
6+
release.properties
7+
dependency-reduced-pom.xml
8+
buildNumber.properties
9+
.mvn/timing.properties

LICENSE.txt

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
/**
2+
* Java HTML Tidy - JTidy
3+
* HTML parser and pretty printer
4+
*
5+
* Copyright (c) 1998-2000 World Wide Web Consortium (Massachusetts
6+
* Institute of Technology, Institut National de Recherche en
7+
* Informatique et en Automatique, Keio University). All Rights
8+
* Reserved.
9+
*
10+
* Contributing Author(s):
11+
*
12+
* Dave Raggett <[email protected]>
13+
* Andy Quick <[email protected]> (translation to Java)
14+
* Gary L Peskin <[email protected]> (Java development)
15+
* Sami Lempinen <[email protected]> (release management)
16+
* Fabrizio Giustina <fgiust at users.sourceforge.net>
17+
*
18+
* The contributing author(s) would like to thank all those who
19+
* helped with testing, bug fixes, and patience. This wouldn't
20+
* have been possible without all of you.
21+
*
22+
* COPYRIGHT NOTICE:
23+
*
24+
* This software and documentation is provided "as is," and
25+
* the copyright holders and contributing author(s) make no
26+
* representations or warranties, express or implied, including
27+
* but not limited to, warranties of merchantability or fitness
28+
* for any particular purpose or that the use of the software or
29+
* documentation will not infringe any third party patents,
30+
* copyrights, trademarks or other rights.
31+
*
32+
* The copyright holders and contributing author(s) will not be
33+
* liable for any direct, indirect, special or consequential damages
34+
* arising out of any use of the software or documentation, even if
35+
* advised of the possibility of such damage.
36+
*
37+
* Permission is hereby granted to use, copy, modify, and distribute
38+
* this source code, or portions hereof, documentation and executables,
39+
* for any purpose, without fee, subject to the following restrictions:
40+
*
41+
* 1. The origin of this source code must not be misrepresented.
42+
* 2. Altered versions must be plainly marked as such and must
43+
* not be misrepresented as being the original source.
44+
* 3. This Copyright notice may not be removed or altered from any
45+
* source or altered source distribution.
46+
*
47+
* The copyright holders and contributing author(s) specifically
48+
* permit, without fee, and encourage the use of this source code
49+
* as a component for supporting the Hypertext Markup Language in
50+
* commercial products. If you use this source code in a product,
51+
* acknowledgment is not required but would be appreciated.
52+
*
53+
*/

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
JTidy
2+
==========
3+
4+
This is a fork of http://jtidy.sourceforge.net.
5+
It is intented for debugging and adding new features, it was forked from r938
6+
7+
Any changes to this repo, will build directly on r938.

pom.xml

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>org.w3c.tidy</groupId>
5+
<artifactId>jtidy</artifactId>
6+
<version>r938</version>
7+
<packaging>jar</packaging>
8+
9+
<properties>
10+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
11+
<maven.compiler.source>1.7</maven.compiler.source>
12+
<maven.compiler.target>1.7</maven.compiler.target>
13+
</properties>
14+
15+
<licenses>
16+
<license>
17+
<name>JTidy Licence</name>
18+
<url>LICENSE.txt</url>
19+
</license>
20+
</licenses>
21+
22+
<name>JTidy</name>
23+
<description>
24+
JTidy is a Java port of HTML Tidy, a HTML syntax checker and pretty printer.
25+
Like its non-Java cousin, JTidy can be used as a tool for cleaning up malformed and faulty HTML.
26+
In addition, JTidy provides a DOM parser for real-world HTML.
27+
</description>
28+
29+
<dependencies>
30+
<dependency>
31+
<groupId>org.apache.ant</groupId>
32+
<artifactId>ant</artifactId>
33+
<version>1.9.2</version>
34+
<type>jar</type>
35+
<scope>compile</scope>
36+
</dependency>
37+
</dependencies>
38+
39+
<build>
40+
<plugins>
41+
<plugin>
42+
<groupId>org.apache.maven.plugins</groupId>
43+
<artifactId>maven-compiler-plugin</artifactId>
44+
<version>2.3.2</version>
45+
<configuration>
46+
<showDeprecation>true</showDeprecation>
47+
</configuration>
48+
</plugin>
49+
<plugin>
50+
<groupId>org.apache.maven.plugins</groupId>
51+
<artifactId>maven-javadoc-plugin</artifactId>
52+
<version>2.10.3</version>
53+
<configuration>
54+
<additionalparam>-Xdoclint:none</additionalparam>
55+
<tags>
56+
<tag>
57+
<name>todo</name>
58+
<placement>a</placement>
59+
<head>To Do:</head>
60+
</tag>
61+
</tags>
62+
</configuration>
63+
</plugin>
64+
</plugins>
65+
</build>
66+
</project>
+80
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
/*
2+
* Java HTML Tidy - JTidy
3+
* HTML parser and pretty printer
4+
*
5+
* Copyright (c) 1998-2000 World Wide Web Consortium (Massachusetts
6+
* Institute of Technology, Institut National de Recherche en
7+
* Informatique et en Automatique, Keio University). All Rights
8+
* Reserved.
9+
*
10+
* Contributing Author(s):
11+
*
12+
* Dave Raggett <[email protected]>
13+
* Andy Quick <[email protected]> (translation to Java)
14+
* Gary L Peskin <[email protected]> (Java development)
15+
* Sami Lempinen <[email protected]> (release management)
16+
* Fabrizio Giustina <fgiust at users.sourceforge.net>
17+
*
18+
* The contributing author(s) would like to thank all those who
19+
* helped with testing, bug fixes, and patience. This wouldn't
20+
* have been possible without all of you.
21+
*
22+
* COPYRIGHT NOTICE:
23+
*
24+
* This software and documentation is provided "as is," and
25+
* the copyright holders and contributing author(s) make no
26+
* representations or warranties, express or implied, including
27+
* but not limited to, warranties of merchantability or fitness
28+
* for any particular purpose or that the use of the software or
29+
* documentation will not infringe any third party patents,
30+
* copyrights, trademarks or other rights.
31+
*
32+
* The copyright holders and contributing author(s) will not be
33+
* liable for any direct, indirect, special or consequential damages
34+
* arising out of any use of the software or documentation, even if
35+
* advised of the possibility of such damage.
36+
*
37+
* Permission is hereby granted to use, copy, modify, and distribute
38+
* this source code, or portions hereof, documentation and executables,
39+
* for any purpose, without fee, subject to the following restrictions:
40+
*
41+
* 1. The origin of this source code must not be misrepresented.
42+
* 2. Altered versions must be plainly marked as such and must
43+
* not be misrepresented as being the original source.
44+
* 3. This Copyright notice may not be removed or altered from any
45+
* source or altered source distribution.
46+
*
47+
* The copyright holders and contributing author(s) specifically
48+
* permit, without fee, and encourage the use of this source code
49+
* as a component for supporting the Hypertext Markup Language in
50+
* commercial products. If you use this source code in a product,
51+
* acknowledgment is not required but would be appreciated.
52+
*
53+
*/
54+
package org.w3c.tidy;
55+
56+
/**
57+
* Anchor/node Linked list.
58+
* @author hoehrmann
59+
* @author Fabrizio Giustina
60+
* @version $Revision: 407 $ ($Author: fgiust $)
61+
*/
62+
public class Anchor
63+
{
64+
65+
/**
66+
* Anchor name.
67+
*/
68+
protected String name;
69+
70+
/**
71+
* Next anchor.
72+
*/
73+
protected Anchor next;
74+
75+
/**
76+
* linked node.
77+
*/
78+
protected Node node;
79+
80+
}

0 commit comments

Comments
 (0)