I'm not sure.. did iBATIS 2.x work fine for you? There's very little difference in the actual parsing and entity resolvers.
However, that XML parser seems a bit weird. Why would it be invoking a transformer and looking for a style sheet? We don't use XSLT for anything. Clinton 2009/8/13 Erdem Budak <erdembu...@hotmail.com> > Well hello again. Happy to see that the DTDs are in place now :). I > actually noticed that the DTD on the web was missing but didn't know it > could lead to problems. Now the dtd in place my error has changed to > something else. I am using Eclipse 3.5 Galileo with the standard parser with > it (didn't know actually that every ide has its own one). The error now > is... > > 12:56:18,841 INFO [main] Main - > javax.xml.transform.TransformerFactory=null > 12:56:18,843 INFO [main] Main - java.endorsed.dirs=C:\Program Files > (x86)\Java\jre6\lib\endorsed > 12:56:18,845 INFO [main] Main - launchFile: > D:\erdm\development\eclipse\workspace\.metadata\.plugins\org.eclipse.wst.xsl.jaxp.launching\launch\launch.xml > 12:56:19,682 FATAL [main] Main - No embedded stylesheet instruction for > file: > file:/D:/erdm/development/eclipse/workspace/ibatistest/src/com/erdm/ibatistest/Configuration.xml > org.eclipse.wst.xsl.jaxp.debug.invoker.TransformationException: No embedded > stylesheet instruction for file: > file:/D:/erdm/development/eclipse/workspace/ibatistest/src/com/erdm/ibatistest/Configuration.xml > at > org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.transform(JAXPSAXProcessorInvoker.java:225) > at > org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.transform(JAXPSAXProcessorInvoker.java:186) > at > org.eclipse.wst.xsl.jaxp.debug.invoker.internal.Main.main(Main.java:73) > Caused by: org.eclipse.wst.xsl.jaxp.debug.invoker.TransformationException: > No embedded stylesheet instruction for file: > file:/D:/erdm/development/eclipse/workspace/ibatistest/src/com/erdm/ibatistest/Configuration.xml > at > org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.transform(JAXPSAXProcessorInvoker.java:214) > ... 2 more > > Well my locale is different then engilish and java has real issues with > toUpper( i -> İ instead of i -> I). I first thought that that was my > problem. Changing my locale didn't solve anything. What do you think might > be the problem. > > Thanks in advance > > ------------------------------ > Date: Wed, 12 Aug 2009 21:04:10 -0600 > Subject: Re: iBatis 3 Configuration.xml > From: clinton.be...@gmail.com > To: user-java@ibatis.apache.org > > > LOL... you know what? I didn't upload the DTDs... > > The framework should use the DTD embedded in the JAR file, but if you're > using a weird parser or an external tool, it will fail. Sorry. I'll > upload them now, and they'll propogate across the mirrors over the next 24 > hours. > > Clinton > > > > 2009/8/12 Erdem Budak <erdembu...@hotmail.com> > > Hey all. > > I am trying to build a simple swing java application using ibatis and > postgresql. What i am trying to do is persist some user class (id, > firstname, surname) to a table. I have managed to do it with 2.x.x version > of ibatis but now when i try to use 3.x.x beta i can't seem to get it work. > It may be a bug or something i am doing wrong. It seems to me that the error > is in my Configuration.xml style sheet (which must be the doctype > statement). I am not very experienced with java so tell me if i am posting > something inessential. > > This is my Configuration.xml > > <?xml version="1.0" encoding="UTF-8" ?> > > <!DOCTYPE configuration > PUBLIC "-//ibatis.apache.org//DTD Config 3.0//EN" > "http://ibatis.apache.org/dtd/ibatis-3-config.dtd"> > > <configuration> > <properties resource="com/erdm/ibatistest/Configuration.properties" /> > <environments default="development"> > &nb sp; <environment id="development"> > <transactionManager type="JDBC" /> > <dataSource type="POOLED"> > <property name="driver" value="${driver}" /> > <property name="url" value="${url}" /> > <property name="username" value="${username}" /> > <property name="password" value="${password}" /> > </dataSource> > </environment> > </environments> > <m appers> > <mapper resource="com/erdm/ibatistest/UserMapper.xml" /> > </mappers> > </configuration> > > And the error i get is as follows > > 02:27:20,182 INFO [main] Main - > javax.xml.transform.TransformerFactory=null > 02:27:20,182 INFO [main] Main - java.endorsed.dirs=C:\Program Files > (x86)\Java\jre6\lib\endorsed > 02:27:20,182 INFO [main] Main - launchFile: > D:\erdm\development\eclipse\workspace\.metadata\.plugins\org.eclipse.wst.xsl.jaxp.launching\launch\launch.xml > 02:27:20,759 FATAL [main] Main - getAssociatedStylesheets failed > org.eclipse.wst.xsl.jaxp.debug.invoker.TransformationException: > getAssociatedStylesheets failed > at > org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.transform(JAXPSAXProcessorInvoker.java:225) > at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPS > AXProcessorInvoker.transform(JAXPSAXProcessorInvoker.java:186) > at > org.eclipse.wst.xsl.jaxp.debug.invoker.internal.Main.main(Main.java:73) > Caused by: javax.xml.transform.TransformerConfigurationException: > getAssociatedStylesheets failed > at > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.getAssociatedStylesheet(Unknown > Source) > at > org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.transform(JAXPSAXProcessorInvoker.java:207) > ... 2 more > Caused by: java.io.FileNotFoundException: > http://ibatis.apache.org/dtd/ibatis-3-config.dtd > at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown > Source) > at > com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown > Source) > at > com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(Unknown > Source)< br> at > com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(Unknown > Source) > at > com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(Unknown > Source) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(Unknown > Source) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(Unknown > Source) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown > Source) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown > Source) > at > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown > Source) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown > Source) > at > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown > Source) > at > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown > Source) > at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown > Source) > at > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown > Source) > at > com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown > Source) > ... 4 more > > Thanks is advance. > > ------------------------------ > What can you do with the new Windows Live? Find > out<http://www.microsoft.com/windows/windowslive/default.aspx> > > > > ------------------------------ > What can you do with the new Windows Live? Find > out<http://www.microsoft.com/windows/windowslive/default.aspx> >