db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fischer <fisc...@seitenbau.net>
Subject database.dtd replaced by database.xsd in torque 4
Date Fri, 10 Sep 2010 05:48:45 GMT

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.


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-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org

View raw message