Limitations of a small example
2001-09-27 12:15:02 Dave Carlson
When using a simple example like this purchase order schema, it's often easy to conclude that you would be better off simply writing the XML schema in a text editor. The use of a UML model adds more complexity than the value that you gain.
However, the real benefit of using UML becomes more apparent in large, complex schema design projects. That's why I generally prefer to use a larger vocabulary design (like my Catalog Markup Language example) to illustrate the role of object-oriented modeling with XML schema design.
I also see very significant value from using UML to reverse engineer existing XML schema specifications, e.g. UDDI, FpML, xCBL, etc. In these cases, a picture is indeed worth a thousand words in the specification.
Regards,
Dave Carlson