TODO in sdl4r-0.9.6 vs TODO in sdl4r-0.9.7

- old
+ new

@@ -72,15 +72,41 @@ it still is not too bad. [x] Look at the returned values of method who do not have their return values documented e.g. Tag.add_value ==> Minor change: we return nil for the methods were nothing was really returned explicitely (for the time being). -[x] State somewhere that we support SDL 1.3. -[ ] If there is any success, maybe create/recreate the Rubyforge site for the support. +[x] If there is any success, maybe create/recreate the Rubyforge site for the support. [ ] Should we allow to create a Tag without a name (== "content") for anonymous Tags? -[ ] It would be cool to be able to right this: +[x] It would be cool to be able to write this: Tag.new "toto" do |tag| tag << 123 end + ==> We can detect whether there is an argument or not. + Note that instance_eval() doesn't allow to pass parameters right now. +[ ] Add latest doc access to RubyForge: + ==> Rake task? + +[x] Is it right to translate the SDL + attr1=null + into the XML + attr1="null" + ? + Should we remove the attribute altogether? Check the Java version => same in Java + ==> Maybe provide an options Hash in to_xml_string(): + :uri_by_namespace => {...} (breaks the old interface) + :hide_null_attributes => true|false +[x] Where we accept Arrays (operator <<, for instance), let's accept Enumerable or something like + that. +[ ] Implement the [] operator in order to access attributes: + ["attr"] <=> attribute("attr") + ["ns:attr"] <=> attribute("ns", "attr") (should we allow this?) + ["ns", "attr"] <=> attribute("ns", "attr") + Should we allow attribute("ns:attr")? +[ ] IDEA: marshaller? easy object <=> SDL read/write? +[ ] Check the coverage and make the tests better. +[ ] IDEA: add an option to the XML export allowing to write anonymous nodes as XML tag content? +[ ] IDEA: add an option to the XML export allowing to export without formatting? +[x] BUG: line continuation is not handled properly (skipping chars etc). +[ ] BUG: the rake task 'gen_rubyforge' doesn't work under 1.9 (only 1.8.7) \ No newline at end of file