|
Support for Date and long was added to the xsd plugin r826.
Support for Model Metadata in core was added in r821. Support for configurable Namespace was added in r826. What's left? Support for xml.attribute was just added in r864.
The last one missing is support for xml.listStyle="flat" added support for xml.listStyle="flat" in r865
since such a list can't be expressed in XML Schema with an "all" compositor, which is the default compositor used, I added an attribute in the Modello class descriptor: xsd.compositor="all|sequence" (default value is "all", of course) When a class contains a flat list, xsd.compositor="sequence" has to be declared in its descriptor or you'll get an IllegalStateException. This way, the change from all to sequence is not automagic but known from the developer: when you have a sequence, the order of elements is checked while it is not the case with "all" compositor. By the way, it permits to choose a sequence even if there is no flat list: after all, this can be a useful feature |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Added support for nameSpace, but something is broken in model metadata, see
MODELLO-46.Some TODOs left in the code.
Don't know if classes such as List or Properties are still supported in modello-core.
And dates doesn't seem to be supported in xsd plugin (update of the test case would be indeed cery interesting on this point).