Fixed it – issues with xml tags
_____ From: Nick Zdunic [mailto:[EMAIL PROTECTED] Sent: Wednesday, 5 March 2008 9:56 PM To: [email protected] Subject: iBatis Visual Studio 2008 and Win forms Hello, I’m desperately trying to get iBatis working in Visual Studio 2008 . I’m writing a Windows Forms application. I’ve had a look at the source and I have found that I have had to make a mod to get certain XML processing to work. I don’t thinbk I should have to do this and probably signals another problem. XmlNode nodeDataSource = _configScope.SqlMapConfigDocument.SelectSingleNode( ApplyDataMapperNamespacePrefix(XML_DATABASE_DATASOURCE), _configScope.XmlNamespaceManager ); if (nodeDataSource == null) nodeDataSource = _configScope.SqlMapConfigDocument.SelectSingleNode(XML_DATABASE_DATASOURCE, _configScope.XmlNamespaceManager); The last two lines are my mods. The contents of sqlMap.config are: <?xml version="1.0" encoding="utf-8"?> <sqlMapConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="SqlMapConfig.xsd"> <!-- ==== SqlClient configuration ========= --> <!-- Optional ( default ) --> <!-- Rem : If used with a Dao it will be ignored --> <database> <provider name="sqlServer2005"/> <dataSource name="TerrazzaStockControl" connectionString="Data Source=ASUS-PROV2\SQL2005;Initial Catalog=TerrazzaStockControl;Integrated Security=True"/> </database> <sqlMaps> <sqlMap resource="Maps/Category.xml"/> <sqlMap resource="Maps/Department.xml"/> </sqlMaps> </sqlMapConfig> I can’t see any obvious problem. Can you help? Nick No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.21.4/1310 - Release Date: 4/03/2008 8:35 AM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.21.4/1310 - Release Date: 4/03/2008 8:35 AM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.21.4/1310 - Release Date: 4/03/2008 8:35 AM No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.21.4/1310 - Release Date: 4/03/2008 8:35 AM No virus found in this outgoing message. Checked by AVG. Version: 7.5.518 / Virus Database: 269.21.7/1322 - Release Date: 9/03/2008 12:17 PM

