db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fischer <tfisc...@apache.org>
Subject parsing errors of schema.xml
Date Sat, 11 Jun 2005 09:37:59 GMT
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


Mime
View raw message