Wednesday, March 29, 2006

How to Tame XML-Schema for OO Programming Languages

Yesterday I wrote about complexity required to map Java grammar to XML-Schema. I looked a bit more into the work that's been done, and noticed that the WS-I apparently started to take on establishing a profile for XML-Schema but it never panned out.

I don't know. I'm not completely convinced that there isn't a way to establish a standardized mechanism for mapping XML-Schema onto an OO programming grammar.

Knowing (at least for web services) that the schema is probably generated from a set of classes, I wonder if there could be a standardized set of schema annotations that indicate what the classes looked like from which the XML-Schema derives. Then, the consumers of the web service would have some hints on how to be reflect the original package/class/method structure.


Post a Comment

<< Home