VS mangles HTML

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • GaryDean

    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


  • j8qxe324#

    #2
    Re: VS mangles HTML

    On Feb 27, 9:41 am, "GaryDean" <gdeanblak...@n ewsgroup.nospam wrote:
    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.

    Comment

    • GaryDean

      #3
      Re: VS mangles HTML

      Huh?

      "j8qxe324#" <joel.mcclure@g mail.comwrote in message
      news:304cd654-acc8-415a-b228-5424e186989e@s8 g2000prg.google groups.com...
      On Feb 27, 9:41 am, "GaryDean" <gdeanblak...@n ewsgroup.nospam wrote:
      >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.

      Comment

      • darrel

        #4
        Re: VS mangles HTML

        Huh?

        What doctype are you using?

        -Darrel


        Comment

        • GaryDean

          #5
          Re: VS mangles HTML

          There is no "doctype" in my aspx page. It's an ordinary aspx page generated
          by visual studio.
          Gary

          "darrel" <notreal@nowher e.comwrote in message
          news:eOSej2XeIH A.4844@TK2MSFTN GP04.phx.gbl...
          >Huh?
          >
          What doctype are you using?
          >
          -Darrel
          >

          Comment

          Working...