You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by zh...@umich.edu on 2006/02/13 02:34:39 UTC

c# ibatis net

I go the following error when I tried to create and run an .net app in 
C# consule project with ibatisnet.

Additional information: - The error occurred while Validate SqlMap config.
- The error occurred in The attribute targetNamespace does not match 
the designated namespace URI. An error occurred at 
file:///C:/c%23/ibatis_net/T_ibatis/bin/Release/SqlMapConfig.xsd, (2, 
2).
The 'sqlMapConfig' element is not declared. An error occurred at , (1, 2).
...

Any Help?

the beginning of my SqlMapConfig.xsd is:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://ibatis.apache.org/dataMapper" 
elementFormDefault="qualified" 
xmlns:mstns="http://tempuri.org/XMLSchema.xsd" 
xmlns:xs="http://www.w3.org/2001/XMLSchema" 
xmlns="http://ibatis.apache.org/dataMapper"
xmlns:vs="http://schemas.microsoft.com/Visual-Studio-Intellisense" 
vs:friendlyname="iBATIS.NET DataMapper Configuration Schema" 
vs:ishtmlschema="false" vs:iscasesensitive="true" 
vs:requireattributequotes="true" vs:defaultnamespacequalifier="" 
vs:defaultnsprefix=""> ...

-Henry

Re: c# ibatis net

Posted by Brandon Goodin <br...@gmail.com>.
you need to post this to the user-csharp@ibatis.apache.org list. This
is the java list.

On 2/12/06, zhlu@umich.edu <zh...@umich.edu> wrote:
> I go the following error when I tried to create and run an .net app in
> C# consule project with ibatisnet.
>
> Additional information: - The error occurred while Validate SqlMap config.
> - The error occurred in The attribute targetNamespace does not match
> the designated namespace URI. An error occurred at
> file:///C:/c%23/ibatis_net/T_ibatis/bin/Release/SqlMapConfig.xsd, (2,
> 2).
> The 'sqlMapConfig' element is not declared. An error occurred at , (1, 2).
> ...
>
> Any Help?
>
> the beginning of my SqlMapConfig.xsd is:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <xs:schema targetNamespace="http://ibatis.apache.org/dataMapper"
> elementFormDefault="qualified"
> xmlns:mstns="http://tempuri.org/XMLSchema.xsd"
> xmlns:xs="http://www.w3.org/2001/XMLSchema"
> xmlns="http://ibatis.apache.org/dataMapper"
> xmlns:vs="http://schemas.microsoft.com/Visual-Studio-Intellisense"
> vs:friendlyname="iBATIS.NET DataMapper Configuration Schema"
> vs:ishtmlschema="false" vs:iscasesensitive="true"
> vs:requireattributequotes="true" vs:defaultnamespacequalifier=""
> vs:defaultnsprefix=""> ...
>
> -Henry
>