diff --git a/build/classes/fr/devinsy/xid/Attributes.class b/build/classes/fr/devinsy/xid/Attributes.class new file mode 100644 index 0000000..a7c60bc Binary files /dev/null and b/build/classes/fr/devinsy/xid/Attributes.class differ diff --git a/build/classes/fr/devinsy/xid/Data.class b/build/classes/fr/devinsy/xid/Data.class new file mode 100644 index 0000000..c1b230c Binary files /dev/null and b/build/classes/fr/devinsy/xid/Data.class differ diff --git a/build/classes/fr/devinsy/xid/DomPresenter.class b/build/classes/fr/devinsy/xid/DomPresenter.class new file mode 100644 index 0000000..0a5a7e0 Binary files /dev/null and b/build/classes/fr/devinsy/xid/DomPresenter.class differ diff --git a/build/classes/fr/devinsy/xid/FilePresenter.class b/build/classes/fr/devinsy/xid/FilePresenter.class new file mode 100644 index 0000000..ef17491 Binary files /dev/null and b/build/classes/fr/devinsy/xid/FilePresenter.class differ diff --git a/build/classes/fr/devinsy/xid/IdData$IterationStrategy.class b/build/classes/fr/devinsy/xid/IdData$IterationStrategy.class new file mode 100644 index 0000000..d66b8ec Binary files /dev/null and b/build/classes/fr/devinsy/xid/IdData$IterationStrategy.class differ diff --git a/build/classes/fr/devinsy/xid/IdData$MODE.class b/build/classes/fr/devinsy/xid/IdData$MODE.class new file mode 100644 index 0000000..2b3da08 Binary files /dev/null and b/build/classes/fr/devinsy/xid/IdData$MODE.class differ diff --git a/build/classes/fr/devinsy/xid/IdData.class b/build/classes/fr/devinsy/xid/IdData.class new file mode 100644 index 0000000..3d8200e Binary files /dev/null and b/build/classes/fr/devinsy/xid/IdData.class differ diff --git a/build/classes/fr/devinsy/xid/IdDataCore.class b/build/classes/fr/devinsy/xid/IdDataCore.class new file mode 100644 index 0000000..0bf70c6 Binary files /dev/null and b/build/classes/fr/devinsy/xid/IdDataCore.class differ diff --git a/build/classes/fr/devinsy/xid/IdsDataById.class b/build/classes/fr/devinsy/xid/IdsDataById.class new file mode 100644 index 0000000..f797556 Binary files /dev/null and b/build/classes/fr/devinsy/xid/IdsDataById.class differ diff --git a/build/classes/fr/devinsy/xid/IdsDataByIndex.class b/build/classes/fr/devinsy/xid/IdsDataByIndex.class new file mode 100644 index 0000000..9270a0e Binary files /dev/null and b/build/classes/fr/devinsy/xid/IdsDataByIndex.class differ diff --git a/build/classes/fr/devinsy/xid/ParserErrorHandler.class b/build/classes/fr/devinsy/xid/ParserErrorHandler.class new file mode 100644 index 0000000..59d5547 Binary files /dev/null and b/build/classes/fr/devinsy/xid/ParserErrorHandler.class differ diff --git a/build/classes/fr/devinsy/xid/Presenter.class b/build/classes/fr/devinsy/xid/Presenter.class new file mode 100644 index 0000000..23fe12b Binary files /dev/null and b/build/classes/fr/devinsy/xid/Presenter.class differ diff --git a/build/classes/fr/devinsy/xid/StringPresenter.class b/build/classes/fr/devinsy/xid/StringPresenter.class new file mode 100644 index 0000000..1a672c7 Binary files /dev/null and b/build/classes/fr/devinsy/xid/StringPresenter.class differ diff --git a/build/classes/fr/devinsy/xid/testXid.html b/build/classes/fr/devinsy/xid/testXid.html new file mode 100644 index 0000000..78a308e --- /dev/null +++ b/build/classes/fr/devinsy/xid/testXid.html @@ -0,0 +1,79 @@ + + + + test + + + Test 01: No id attribute + XHTML: Hello world. + no Java code + Result: Hello world. + + Test 02: id attribute with empty model + XHTML: Hello world. + no Java code + Result: Hello world. + + + Test 03: model changing the text + XHTML: Hello world. + // Populate attributes of Test 03. + text = new TextModel (); + text.getAttributes ().appendAttribute ("style", "background: blue;"); + text.getAttributes ().appendAttribute ("style", "foreground: red;"); + text.getAttributes ().setAttribute ("class", "totoClass"); + text.setText ("mummy"); + datas.put ("test03", text); + Result: Hello world. + + + Test 04: model changing title + XHTML: Hello world. + // Populate attributes of Test 04. + text = new TextModel (); + text.getAttributes ().setAttribute ("title", "another title"); + datas.put ("test04", text); + Result: Hello world. + + + Test 05: model adding style attributes + XHTML: Hello world. + // Populate attributes of Test 05. + text = new TextModel (); + text.getAttributes ().appendAttribute ("style", "background: blue;"); + text.getAttributes ().appendAttribute ("style", "foreground: red;"); + text.getAttributes ().setAttribute ("class", "aClass"); + datas.put ("test05", text); + Result: Hello world. + + + Test 06: model appending style attributes + XHTML: Hello world. + // Populate attributes of Test 06. + text = new TextModel (); + text.getAttributes ().appendAttribute ("style", "foreground: red;"); + text.getAttributes ().setAttribute ("class", "aClass"); + datas.put ("test06", text); + Result: Hello world. + + + Test 07: image + XHTML: A picture pinguoin flottant. + // Populate attributes of Test 07. + text = new TextModel (); + text.getAttributes ().setAttribute ("width", "50%"); + datas.put ("test07", text); + Result: A picture pinguoin flottant. + + + Test 08: xhtml source contains no display order in a tag. + XHTML: Hello you there. + Result: Hello you there. + + + Test 09: dynamic addition of the nodisplay order. + XHTML: Hello you there. + Result: Hello you there. + + + \ No newline at end of file diff --git a/build/classes/fr/devinsy/xid/testXid.t b/build/classes/fr/devinsy/xid/testXid.t new file mode 100644 index 0000000..9037424 --- /dev/null +++ b/build/classes/fr/devinsy/xid/testXid.t @@ -0,0 +1,69 @@ + + + + test + + + Test 01: No id attribute + XHTML: Hello world. + no Java code + Result: Hello world. + + Test 02: id attribute with empty model + XHTML: Hello world. + no Java code + Result: Hello world. + + + Test 03: model changing the text + XHTML: Hello world. + // Populate attributes of Test 03. + text = new TextModel (); + text.getAttributes ().appendAttribute ("style", "background: blue;"); + text.getAttributes ().appendAttribute ("style", "foreground: red;"); + text.getAttributes ().setAttribute ("class", "totoClass"); + text.setText ("mummy"); + datas.put ("test03", text); + Result: Hello world. + + + Test 04: model changing title + XHTML: Hello world. + // Populate attributes of Test 04. + text = new TextModel (); + text.getAttributes ().setAttribute ("title", "another title"); + datas.put ("test04", text); + Result: Hello world. + + + Test 05: model adding style attributes + XHTML: Hello world. + // Populate attributes of Test 05. + text = new TextModel (); + text.getAttributes ().appendAttribute ("style", "background: blue;"); + text.getAttributes ().appendAttribute ("style", "foreground: red;"); + text.getAttributes ().setAttribute ("class", "aClass"); + datas.put ("test05", text); + Result: Hello world. + + + Test 06: model appending style attributes + XHTML: Hello world. + // Populate attributes of Test 06. + text = new TextModel (); + text.getAttributes ().appendAttribute ("style", "foreground: red;"); + text.getAttributes ().setAttribute ("class", "aClass"); + datas.put ("test06", text); + Result: Hello world. + + + Test 07: image + XHTML: A picture pinguoin flottant. + // Populate attributes of Test 07. + text = new TextModel (); + text.getAttributes ().setAttribute ("width", "50%"); + datas.put ("test07", text); + Result: A picture pinguoin flottant. + + + \ No newline at end of file diff --git a/build/classes/fr/devinsy/xid/xhtml-lat1.ent b/build/classes/fr/devinsy/xid/xhtml-lat1.ent new file mode 100644 index 0000000..ffee223 --- /dev/null +++ b/build/classes/fr/devinsy/xid/xhtml-lat1.ent @@ -0,0 +1,196 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build/classes/fr/devinsy/xid/xhtml-special.ent b/build/classes/fr/devinsy/xid/xhtml-special.ent new file mode 100644 index 0000000..cead4e8 --- /dev/null +++ b/build/classes/fr/devinsy/xid/xhtml-special.ent @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build/classes/fr/devinsy/xid/xhtml-symbol.ent b/build/classes/fr/devinsy/xid/xhtml-symbol.ent new file mode 100644 index 0000000..63c2abf --- /dev/null +++ b/build/classes/fr/devinsy/xid/xhtml-symbol.ent @@ -0,0 +1,237 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build/classes/fr/devinsy/xid/xhtml1-frameset.dtd b/build/classes/fr/devinsy/xid/xhtml1-frameset.dtd new file mode 100644 index 0000000..1a00936 --- /dev/null +++ b/build/classes/fr/devinsy/xid/xhtml1-frameset.dtd @@ -0,0 +1,1235 @@ + + + + + +%HTMLlat1; + + +%HTMLsymbol; + + +%HTMLspecial; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build/classes/fr/devinsy/xid/xhtml1-transitional.dtd b/build/classes/fr/devinsy/xid/xhtml1-transitional.dtd new file mode 100644 index 0000000..e22581b --- /dev/null +++ b/build/classes/fr/devinsy/xid/xhtml1-transitional.dtd @@ -0,0 +1,1210 @@ + + + + + +%HTMLlat1; + + +%HTMLsymbol; + + +%HTMLspecial; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +