Tesugen

No more WOXML

Forget what I wrote in the last post – I was a little too eager to report about my findings. It will work as long as you don’t have relationships in both directions – for example, a one-to-many relationship, in which case you’ll need to make a many-to-many relationship.

I’m so fed up with this crappy framework. I can’t believe how Apple can release something of such unbelievably poor quality. Next time I will use the Castor XML stuff right from the beginning. My advice to you is to stay away from this framework, or at least not committing to time schedule unless you’ve made a prototype that does what your code will do, in order to verify that what you want to do works.

You use a framework because it does something that would take much work to do yourself. But WOXML appears to be powerful and easy to use, but when you’ve started using it, it reveals its true nature: a bug-ridden tarpit. When you do something wrong (for example when setting up the mapping model), the feedback it provides in terms of exceptions raised is useless. For example, it wraps exceptions in its own WOXMLException, but doesn’t document that you can access the original exception with originalException(), or it says something like “expected ’</myElement>’” although the XML is correct, but the real error is in the mapping file.

It’s so frustrating when something that just should work forces you to spend days trying to find out workarounds for bugs. You have been warned!

The above was posted to my personal weblog on June 17, 2002. My name is Peter Lindberg and I am a thirtysomething software developer and dad living in Stockholm, Sweden. Here, you’ll find posts in English and Swedish about whatever happens to interest me for the moment.

Posted around the same time:

The seven most recent posts:

  1. Tesugen Replaced (October 7)
  2. My Year of MacBook Troubles (May 16)
  3. Tesugen Turns Five (March 21)
  4. Gustaf Nordenskiöld om keramik kontra kläddesign (December 10, 2006)
  5. Se till att ha två buffertar för oförutsedda utgifter (October 30, 2006)
  6. Bra tips för den som vill börja fondspara (October 7, 2006)
  7. Light-Hearted Parenting Tips (September 16, 2006)
Bloggtoppen.se