On 5/27/05, Gilles Bayon <[EMAIL PROTECTED]> wrote:
> The syntax 
> <properties url="..." />
> <properties resource="..." />
> <properties embededd="..." />


- <properties embededd="..." />
+ <properties embededd="..." />

In the source, we have 

---

C:\projects\Apache\ibatis\trunk\cs\mapper\IBatisNet.Common\Utilities\Resources.cs(150):
                 else
if (node.Attributes["embedded"] != null)
C:\projects\Apache\ibatis\trunk\cs\mapper\IBatisNet.Common\Utilities\Resources.cs(152):
                         xmlDocument
= Resources.GetEmbeddedResourceAsXmlDocument(node.Attributes["embedded"].Value);

---

Again, slightly off topic, but would anyone mind if I replaced inline
constants, like "embedded", with defined constants, like EMBEDDED.

Of course, it makes no difference to the compiler, but using defined
constants throughout is helpful when using some IDEs. You can do
things like just click on a constant to see everywhere it used in a
solution. And, of course, a defined constant makes it harder to
misspell tokens :)

-Ted.

Reply via email to