Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0-alpha-5
-
Fix Version/s: 1.0-alpha-18
-
Component/s: modello-plugin-xsd
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
Problem is trickier here (than for xdoc plugin).
Indeed, attributes are ok, but flat lists are a pain.
Right now, plugin is generating xs:all elements, which doesn't allow for maxOccurs. So that would mean detecting from parent class when child association is flat list, and generating a xs:sequence instead of the xs:all for this element.
Is this solution acceptable?
Issue Links
- is depended upon by
-
DOXIASITETOOLS-1
Provide a schema for site.xml
-
-
DOXIA-136
Create an FML DTD or XSD
-
Activity
Denis Cabasson
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | MODELLO-49-modello-plugin-xsd.patch [ 22101 ] |
Dennis Lundberg
made changes -
| Patch attached | Yes |
Herve Boutemy
made changes -
Herve Boutemy
made changes -
| Assignee | Herve Boutemy [ hboutemy ] |
Herve Boutemy
made changes -
| Fix Version/s | 1.0-alpha-18 [ 13717 ] | |
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Fixed [ 1 ] |
Herve Boutemy
made changes -
| Link |
This issue is depended upon by |
Support for attributes as well as different xml.listStyle.
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).