You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by Thomas Fischer <tf...@apache.org> on 2005/06/11 11:37:59 UTC
parsing errors of schema.xml
Hi,
until now, if a schema.xml did not comply to the dtd, the error was
silently ignored in the generator. I do not think this is a good behaviour
and would rather stop the generation of whatever is generated using the
schema.xml and print an error message. Ant would exit with an error
message like
org.apache.torque.engine.EngineException: org.xml.sax.SAXException: Error
while parsing
/opt/eclipse/workspace/db-torque/target/test/rttest/schema/test-schema.xml
at line 136 column 60 : Attribute "idMethod" with value "idBroker" must
have a value from the list "idbroker native none null ".
Any objections, further suggestions etc ?
Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org