Menu

#1 More robust XML handling

v1.0
open
5
2001-09-01
2001-08-31
No

If you enter a Project name like "M&T task" then exit
TimeTracker and restart TimeTracker with the same data
file the application can not load the data file again.

Another case is if any of the strings contain a " char
like: "Updated the "foobar" file"

The third case is handling international characters
like the german umlaut 'ü' or danish "æøå"

A partial (or maybe complete?) solution to all of this
might be adding a valid xml header like <?xml
version="1.0" encoding="ISO-8859-1" ?> to the data
file as suggested by someone in the forum.

Apart from that - a nice little tool... in particular
I like the reporting part :-)

cheers,
jornh

Discussion

  • Jørn A Hansen

    Jørn A Hansen - 2001-08-31

    A data.xml file containing invalid data

     
  • Jørn A Hansen

    Jørn A Hansen - 2001-08-31

    Logged In: YES
    user_id=277302

    Oops!

    I just took a quick look at:
    timetrack/timetrack/src/net/sourceforge/timetrack/Entry.java
    in CVS.

    It looks like the XML writer is hardcoded at the moment. I
    was assuming it used features in Xalan/Xerces/Relaxer for
    reading/writing. So I understand there is more to it than
    just a couple of XML grammar adjustments. Never the less I
    would still like to see better handling of special
    characters...

    cheers,
    // jornh

     
  • Tim McCune

    Tim McCune - 2001-09-01
    • labels: --> XML Handling
    • milestone: --> v1.0
    • assigned_to: nobody --> paulseamus
     
  • Francis Bouchard

    Logged In: YES
    user_id=795433

    Hi,

    I'm lose to getting it into version 1.2. But this will imply
    a format change in the data.xml. I will have to include a
    runtime converter and make a mechanism to mark what version
    of the xml the application is using. It should make it
    pretty soon.

    Francis

     
  • Francis Bouchard

    Logged In: YES
    user_id=795433

    It is now fixed. It should be rolled in the next release.
    Could you add a valid "big" data.xml file so I can test.
    Please indicate which encoding you use (iso-XXX) so I can
    test on big and different knig of files.

     

Log in to post a comment.

MongoDB Logo MongoDB