Monday, March 26, 2012

Web.config not well-formed?

I took a look at the global web.config file in the 2.0 Framework folder and
opened it within VS 2005. Upon opening it, the IDE shows many validation
errors, most of which have to do with some attributes having a value of
"true", when the schema calls for "True" or vice versa.
How can this be? This is a new installation with an unmodified web.config
file.No errors here when either web.config or machine.config are opened in VS 200
5.
They are both well-formed XML documents.
"True" and "true" would merely represent two different bits of data,
and it would not constitute any kind of error to have either or both
in a well-formed XML document.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
======================================
"Scott M." <smar@.nospam.nospam> wrote in message news:F3312D9F-DE79-410B-AD13-D7DE6EB49007@.
microsoft.com...
>I took a look at the global web.config file in the 2.0 Framework folder and
opened it within VS 2005. Upon opening it,
>the IDE shows many validation errors, most of which have to do with some at
tributes having a value of "true", when the
>schema calls for "True" or vice versa.
> How can this be? This is a new installation with an unmodified web.config file.[/
color]
Hi Scott and Juan,
I believe what Scott meant is about the validation warnings instead of
errors. This is a known issue of Visual Studio 2005:
#Feedback: Web.config Case Sensitivity Throws Warning - Error
http://connect.microsoft.com/Visual...ck.aspx?Feedbac
kID=97730
Unfortunately we currently haven't fixed it due to compatibility issues.
Sorry for the inconvenience caused.
Regards,
Walter Wang (wawang@.online.microsoft.com, remove 'online.')
Microsoft Online Community Support
========================================
==========
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
========================================
==========
This posting is provided "AS IS" with no warranties, and confers no rights.
Thanks Walter. Yes, I did mean valid, rather than well-formed (need more
sleep!). What will the ramifications of web.config not conforming to its
own schema in this way be?
""Walter Wang [MSFT]"" <wawang@.online.microsoft.com> wrote in message
news:TEszJc1KIHA.5032@.TK2MSFTNGHUB02.phx.gbl...
> Hi Scott and Juan,
> I believe what Scott meant is about the validation warnings instead of
> errors. This is a known issue of Visual Studio 2005:
> #Feedback: Web.config Case Sensitivity Throws Warning - Error
> [url]http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?Feedbac[/ur
l]
> kID=97730
>
> Unfortunately we currently haven't fixed it due to compatibility issues.
> Sorry for the inconvenience caused.
>
> Regards,
> Walter Wang (wawang@.online.microsoft.com, remove 'online.')
> Microsoft Online Community Support
> ========================================
==========
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ========================================
==========
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>

0 comments:

Post a Comment