History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: GRAILS-2250
Type: Wish Wish
Status: Open Open
Priority: Major Major
Assignee: Graeme Rocher
Reporter: Paul Bowler
Votes: 0
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
Grails

Create GORM classes from XML Schema (XSD)

Created: 22/Jan/08 04:29 AM   Updated: 29/Apr/08 08:53 PM
Component/s: Persistence, Configuration, Scaffolding, Plugins
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified


 Description  « Hide
A powerful feature would be the ability to auto-generate GORM classes from an XML schema.

This would (ideally) include all the gorm fields and relationships, and controller validation of element constraints (minOccurs, MaxOccurs, etc).

I see this as an extension to the grails command syntax, e.g. 'grails create-domain-classes-from-xsd <url>' and scaffold controller/view generation.

Support for marshalling/demarshalling to/from valid xml documents would also be beneficial.

JAXB for Grails!



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Shawn Hartsock - 29/Apr/08 08:53 PM
This is one of those features that I have to wonder isn't better done as some kind of plugin or add-on tool. Such a tool would have uses beyond GORM.