You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Ron Grabowski (JIRA)" <ib...@incubator.apache.org> on 2005/08/18 18:47:56 UTC

[jira] Commented: (IBATISNET-103) Typos in Resources.cs

    [ http://issues.apache.org/jira/browse/IBATISNET-103?page=comments#action_12319195 ] 

Ron Grabowski commented on IBATISNET-103:
-----------------------------------------

I think GetManifestResourceStream is smart enough to know what to do if fileInfo.FileName or fileInfo.ResourceFileName is passed in.

> Typos in Resources.cs
> ---------------------
>
>          Key: IBATISNET-103
>          URL: http://issues.apache.org/jira/browse/IBATISNET-103
>      Project: iBatis for .NET
>         Type: Improvement
>     Reporter: Ron Grabowski
>     Assignee: Gilles Bayon
>     Priority: Trivial

>
> David Marzo posted the following message to the user-cs list. I've verified they are present in the most recent revision in SVN:
> I have two small "bugs":
> cs\mapper\IBatisNet.Common\Utilities\Resources.cs 
>   ln 291 
>    Original: 
>    throw new ConfigurationException(string.Format("Unable to load 
>             XmlDocument via stream. Cause : {1}", e.Message ) ,e);
>    Correct:
>    throw new ConfigurationException(string.Format("Unable to load 
>             XmlDocument via stream. Cause : {0}", e.Message),e);
>   Similar error in Lines: 313,336,446
>  Ln 413
>  Original:
> 	Stream stream = 
> 	
> assembly.GetManifestResourceStream(fileInfo.ResourceFileName);
> Correct:
> 	Stream stream =
> assembly.GetManifestResourceStream(fileInfo.FileName);

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira