Tesugen

Update on WOXML

A clarification regarding yesterday’s post on Apple’s XML framework, although I still do think that it is of too poor quality to be released. Perhaps many of the bugs we’ve struggled with are fixed in WebObjects 5, but I know that some of them still are there. (I will examine this in a few days, should not Malte beat me to it.)

What we’ve most recently struggled with are that to-one relationships can’t be null. We tried making them to-many and “simulating” to-one relationships, but this doesn’t work for us, so we reverted. Perhaps it would work for you. Our current approach is to substitute all nulls with “Null Objects” (that is, objects that represent null values) before marshalling, and vice versa after unmarshalling – and it works, but it probably isn’t feasible if you have lots and lots of optional to-one relationships.

If you have troubles with WOXMLCoding, don’t hesitate to mail me and I’ll try to help.

The above was posted to my personal weblog on June 18, 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