473,378 Members | 1,671 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

VS mangles HTML

On one of our projects, using vs2005 professional, Visual Studio reformats
the html in an aspx page so that it is virtually impossible to work with -
although it still executes properly. For instance it takes well formed html
that is indented for readability and converts everything to uppercase and
removes all carriage returns.

it converts this...............
<table>
<tr>
<tdvAlign=top>
<asp:panel id="LEFTPANEL" runat="server" Width="400px">
<table... . . .

to this..........
<TABLE><TBODY><TR><TD vAlign=top><asp:Panel id="LEFTPANEL" runat="server"
Width="400px"><TABLE

The page is then full of errors saying that uppercase is not valid.

I don't recall this every happening before but it is happening on this
project. We don't know of any settings that have been changed.

TIA,
Gary
Feb 27 '08 #1
4 1050
On Feb 27, 9:41 am, "GaryDean" <gdeanblak...@newsgroup.nospamwrote:
On one of our projects, using vs2005 professional, Visual Studio reformats
the html in an aspx page so that it is virtually impossible to work with -
although it still executes properly. For instance it takes well formed html
that is indented for readability and converts everything to uppercase and
removes all carriage returns.

it converts this...............
<table>
<tr>
<tdvAlign=top>
<asp:panel id="LEFTPANEL" runat="server" Width="400px">
<table... . . .

to this..........
<TABLE><TBODY><TR><TD vAlign=top><asp:Panel id="LEFTPANEL" runat="server"
Width="400px"><TABLE

The page is then full of errors saying that uppercase is not valid.

I don't recall this every happening before but it is happening on this
project. We don't know of any settings that have been changed.

TIA,
Gary
The errors flagging uppercase may be due to the HTML validation model
you have chosen. XHTML validation is much more strict (as it should
be). IE 6 validation is pretty forgiving.
Feb 27 '08 #2
Huh?

"j8qxe324#" <jo**********@gmail.comwrote in message
news:30**********************************@s8g2000p rg.googlegroups.com...
On Feb 27, 9:41 am, "GaryDean" <gdeanblak...@newsgroup.nospamwrote:
>On one of our projects, using vs2005 professional, Visual Studio
reformats
the html in an aspx page so that it is virtually impossible to work
with -
although it still executes properly. For instance it takes well formed
html
that is indented for readability and converts everything to uppercase and
removes all carriage returns.

it converts this...............
<table>
<tr>
<tdvAlign=top>
<asp:panel id="LEFTPANEL" runat="server" Width="400px">
<table... . . .

to this..........
<TABLE><TBODY><TR><TD vAlign=top><asp:Panel id="LEFTPANEL" runat="server"
Width="400px"><TABLE

The page is then full of errors saying that uppercase is not valid.

I don't recall this every happening before but it is happening on this
project. We don't know of any settings that have been changed.

TIA,
Gary

The errors flagging uppercase may be due to the HTML validation model
you have chosen. XHTML validation is much more strict (as it should
be). IE 6 validation is pretty forgiving.

Feb 27 '08 #3
Huh?

What doctype are you using?

-Darrel
Feb 27 '08 #4
There is no "doctype" in my aspx page. It's an ordinary aspx page generated
by visual studio.
Gary

"darrel" <no*****@nowhere.comwrote in message
news:eO**************@TK2MSFTNGP04.phx.gbl...
>Huh?

What doctype are you using?

-Darrel

Feb 28 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: VK | last post by:
09/30/03 Phil Powell posted his "Radio buttons do not appear checked" question. This question led to a long discussion about the naming rules applying to variables, objects, methods and properties...
4
by: Francois Keyeux | last post by:
hello everyone: i have a web site built using vbasic active server scripting running on iis (it works on either iis 50 and 60, but is designed for iis 50) i know how to create a plain text...
10
by: oopaevah | last post by:
When using innerHTML to insert xhtml IE5+ mangles the xhtml completely. For example it removes the quotes from attributes. It also does other ridiculous things like on a <div> it will insert the...
2
by: nextman | last post by:
A guy called Yuri brought this up a while ago but no one got back to him and now I have the same problem. I have an xml file which contains special characters such as &eacute; etc. The DTD...
3
by: David Adams | last post by:
Hi, I have seen a million examples of using command-line parameters in the following manner: static void Main(string args) { Application.Run(new frmMain(args)); }
5
by: serge calderara | last post by:
Dear all, I am new in asp.net and prepare myself for exam I still have dificulties to understand the difference between server control and HTML control. Okey things whcih are clear are the fact...
0
by: ^MisterJingo^ | last post by:
I have a file browser application which works fine in every browser I've tried. It utilises sessions as not to expose the query string or web server directory structure. This is fine for it...
6
by: Guy Macon | last post by:
cwdjrxyz wrote: HTML 5 has solved the above probem. See the following web page: HTML 5, one vocabulary, two serializations http://www.w3.org/QA/2008/01/html5-is-html-and-xml.html
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.