Has anyone noticed that the xml in an app.config file is treated differently
than in a web.confg, or is it just me?
I have a component that parses and processes node fragments that are taken
from a .config file. When used in a .NET web app ( web.config ) the
component works fine. However, I found when using the identical node
fragment in a Windows app ( app.config ), I got an error. Basically, the
app.config xml had preserved all the whitespace nodes whereas the web.config
version had stripped them all out. Obviously, the solution is to change my
component so it can cope with either scenario, but I find it strange that
the xml is processed differently in each case.
Is this a feature others have come across, or have I done something idiotic?
Steve James