I added Greg's suggestion for a schema xsd to the torque 4.0 templates, and
support in the generator to check xml sources against a schema.
A few things were changed as compared to Greg's initial proposal
- I changed the namespace from http://db.apache.org/torque4.0 to
http://db.apache.org/torque/4.0/templates/database. The reason was to have
a similar namespace as the contol.xml's (
http://db.apache.org/torque/4.0/generator/configuration). This is open to
discussion, please object if you do not like it.
- I added a non-strict version which does not check for allowed characters,
so people can choose which schema they want.
- removed attribute heavyIndexing, value "null" for attribute idMethod and
value 'none' of the onUpdate and onDelete attributes as described in
TORQUE-127, TORQUE-130 and TORQUE-131 in jira.

Any reviews, comments, objections etc are welcome.

    Thomas

P.S the schema is not yet available on the web site, but is resolved
internally by an entityResolver. I'd rather not publish the schema on the
web site in case we need to change anything.


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscr...@db.apache.org
For additional commands, e-mail: torque-dev-h...@db.apache.org

Reply via email to