diff --git a/build.xml~ b/build.xml~
new file mode 100644
index 0000000..783c08a
--- /dev/null
+++ b/build.xml~
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/build/classes/xid/Attributes.class b/build/classes/xid/Attributes.class
new file mode 100644
index 0000000..7691c5e
Binary files /dev/null and b/build/classes/xid/Attributes.class differ
diff --git a/build/classes/xid/ParserErrorHandler.class b/build/classes/xid/ParserErrorHandler.class
new file mode 100644
index 0000000..02074b4
Binary files /dev/null and b/build/classes/xid/ParserErrorHandler.class differ
diff --git a/build/classes/xid/Presenter.class b/build/classes/xid/Presenter.class
new file mode 100644
index 0000000..98297a0
Binary files /dev/null and b/build/classes/xid/Presenter.class differ
diff --git a/build/classes/xid/TagData$MODE.class b/build/classes/xid/TagData$MODE.class
new file mode 100644
index 0000000..c394f13
Binary files /dev/null and b/build/classes/xid/TagData$MODE.class differ
diff --git a/build/classes/xid/TagData.class b/build/classes/xid/TagData.class
new file mode 100644
index 0000000..5fcb308
Binary files /dev/null and b/build/classes/xid/TagData.class differ
diff --git a/build/classes/xid/TagsData.class b/build/classes/xid/TagsData.class
new file mode 100644
index 0000000..ce5975b
Binary files /dev/null and b/build/classes/xid/TagsData.class differ
diff --git a/build/classes/xid/TextTagData.class b/build/classes/xid/TextTagData.class
new file mode 100644
index 0000000..5773284
Binary files /dev/null and b/build/classes/xid/TextTagData.class differ
diff --git a/build_test/classes/xid/Test.class b/build_test/classes/xid/Test.class
new file mode 100644
index 0000000..85e2637
Binary files /dev/null and b/build_test/classes/xid/Test.class differ
diff --git a/build_test/classes/xid/test/Test.class b/build_test/classes/xid/test/Test.class
new file mode 100644
index 0000000..b451845
Binary files /dev/null and b/build_test/classes/xid/test/Test.class differ
diff --git a/dist/test.jar b/dist/test.jar
new file mode 100644
index 0000000..57e9a7e
Binary files /dev/null and b/dist/test.jar differ
diff --git a/dotest b/dotest
new file mode 100755
index 0000000..8ef51e1
--- /dev/null
+++ b/dotest
@@ -0,0 +1 @@
+$JAVA_HOME/bin/java -classpath lib/activation.jar:lib/log4j-1.2.14.jar:lib/mail.jar:servlet-api.jar:dist/xid.jar:dist/test.jar xid.test.Test
diff --git a/dotest~ b/dotest~
new file mode 100755
index 0000000..6d16f52
--- /dev/null
+++ b/dotest~
@@ -0,0 +1 @@
+$JAVA_HOME/bin/java -classpath lib/activation.jar:lib/log4j-1.2.14.jar:lib/mail.jar:servlet-api.jar:dist/xid.jar:dist/test.jar xid.Test
diff --git a/test/xid/Test.java b/test/xid/Test.java
new file mode 100644
index 0000000..e616816
--- /dev/null
+++ b/test/xid/Test.java
@@ -0,0 +1,16 @@
+package xid.test;
+
+import java.util.*;
+import java.io.*;
+
+
+/**
+ *
+ */
+class Test
+{
+ public static void main(String[] args)
+ {
+ System.out.println("Hello World!");
+ }
+}
diff --git a/test/xid/test/Test.java b/test/xid/test/Test.java
new file mode 100644
index 0000000..d0e792c
--- /dev/null
+++ b/test/xid/test/Test.java
@@ -0,0 +1,73 @@
+package xid;
+
+import java.util.*;
+import java.io.*;
+import xid.*;
+
+
+/**
+ *
+ */
+class Test
+{
+ public static void main(String[] args)
+ {
+ System.out.println("Hello World!");
+
+ Presenter xid = new Presenter (getServletContext ().getRealPath ("/"), "testXid.html");
+
+ //
+ TagsData datas = new TagsData ();
+ TextTagData text;
+
+ // Populate attributes of Test 03.
+ text = new TextTagData ();
+ datas.put ("test03", text);
+ text.setText ("mummy");
+ text.getAttributes ().appendAttribute ("style", "background: blue;");
+ text.getAttributes ().appendAttribute ("style", "foreground: red;");
+ text.getAttributes ().setAttribute ("class", "totoClass");
+
+
+ StringBuffer html;
+ StringBuffer errorMessage;
+
+ errorMessage = new StringBuffer ();
+ html = xid.doXid (datas, errorMessage);
+
+
+ // Display page.
+ response.setContentType ("text/html");
+ PrintWriter out = response.getWriter();
+
+ out.println ("");
+ out.println ("
");
+ out.println ("XID TEST");
+ out.println ("");
+ out.println ("");
+
+ out.println ("
");
+ out.println ("XID TEST
");
+
+ if (errorMessage.length () != 0)
+ {
+ out.println ("An error occured in Xid treatment.
");
+ out.println ("");
+ out.println (errorMessage);
+ out.println ("
");
+ out.println ("
");
+ out.println ("" + Presenter.restoreEntities (html) + "
");
+ out.println ("
");
+ }
+ else
+ {
+ out.println ("" + Presenter.restoreEntities (html) + "
");
+ }
+
+ out.println ("");
+ out.println ("");
+
+ log.info ("Exit");
+
+ }
+}
diff --git a/test/xid/test/Test.java~ b/test/xid/test/Test.java~
new file mode 100644
index 0000000..a55f3fe
--- /dev/null
+++ b/test/xid/test/Test.java~
@@ -0,0 +1,16 @@
+package xid;
+
+import java.util.*;
+import java.io.*;
+
+
+/**
+ *
+ */
+class Test
+{
+ public static void main(String[] args)
+ {
+ System.out.println("Hello World!");
+ }
+}