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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to