Web.config not well-formed?

  • Thread starter Thread starter Scott M.
  • Start date Start date
S

Scott M.

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 2005.
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 español : http://asp.net.do/foros/
======================================
 
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/VisualStudio/feedback/ViewFeedback.aspx?Feedbac
kID=97730


Unfortunately we currently haven't fixed it due to compatibility issues.
Sorry for the inconvenience caused.


Regards,
Walter Wang ([email protected], 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?
 
Back
Top