Uploaded image for project: 'iBatis for .NET'
  1. iBatis for .NET
  2. IBATISNET-108

Resources.GetEmbeddedResourceAsXmlDocument( )

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • DataMapper 1.6.2
    • None
    • None

    Description

      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);

      Attachments

        Issue Links

          Activity

            People

              gilles Gilles Bayon
              d.marzo David Marzo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: