Hello Why do i get following error Caused by: org.xml.sax.SAXParseException: Element "sqlMap" requires additional elements. at java/lang/Throwable.<init>(Throwable.java:195) at java/lang/Exception.<init>(Exception.java:41) at org/xml/sax/SAXException.<init>(SAXException.java:55) at
org/xml/sax/SAXParseException.<init>(SAXParseException.java:56) at org/apache/crimson/parser/Parser2.error(Parser2.java:3343) at org/apache/crimson/parser/ValidatingParser$ChildrenValidator.done(ValidatingParser.java:361) at org/apache/crimson/parser/Parser2.maybeElement(Parser2.java:1692) I have the following configuration files <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE sqlMapConfig PUBLIC "-//iBATIS.com//DTD SQL Map Config 2.0//EN" "http://www.ibatis.com/dtd/sql-map-config-2.dtd"> <sqlMapConfig> <sqlMap resource="PODataAS400.xml" /> </sqlMapConfig> And my PODataAS400.xml is as below <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://www.ibatis.com/dtd/sql-map-2.dtd"> <sqlMap namespace="POData"> </sqlMap> I have not defined any SQL, is it not legal to do so Ashish A$HI$H __________________________________ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs
