<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Whitespace significance. To standard or not to standard or 'don't change my HTML again!'</title><link>http://blogs.msdn.com/mikhailarkhipov/archive/2004/09/21/232706.aspx</link><description>Have a look at this bug . In fact, it is not that we again munge your HTML. It is that we are trying to preserve whitespace and ensure correct page rendering. Why? Let's look at the standard first. B.3.1 Line breaks SGML (see [ISO8879] , section 7.6.1)</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Whitespace significance. To standard or not to standard or 'don't change my HTML again!'</title><link>http://blogs.msdn.com/mikhailarkhipov/archive/2004/09/21/232706.aspx#232726</link><pubDate>Wed, 22 Sep 2004 07:32:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:232726</guid><dc:creator>Dean Harding</dc:creator><description>So the reason it's being moved currently is to ensure it renders correctly in Firefox and Opera, is that right?&lt;br&gt;&lt;br&gt;Personally, I'd say screw that - stick to the standard, treat them as the same and keep the formatting in-tact.&lt;br&gt;&lt;br&gt;I'd say it's more important to keep the formatting in-tact than it is to make sure the page renders properly on every browser -- after all, it's the problem of the browser developer to ensure the browser is standards-compliant (and failing that, the website developer to ensure everything looks the same on each browser).&lt;br&gt;&lt;br&gt;Just my $0.02..</description></item><item><title>re: Whitespace significance. To standard or not to standard or 'don't change my HTML again!'</title><link>http://blogs.msdn.com/mikhailarkhipov/archive/2004/09/21/232706.aspx#232735</link><pubDate>Wed, 22 Sep 2004 07:53:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:232735</guid><dc:creator>Søren Lund</dc:creator><description>I say stick with the standard even more so because I actually expect it to behave the way IE renders it.</description></item><item><title>re: Whitespace significance. To standard or not to standard or 'don't change my HTML again!'</title><link>http://blogs.msdn.com/mikhailarkhipov/archive/2004/09/21/232706.aspx#232746</link><pubDate>Wed, 22 Sep 2004 08:43:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:232746</guid><dc:creator>Julian Harse</dc:creator><description>It is just a bug which will get fixed and it will eventually get fixed. You are better off just sticking to the standard...&lt;br&gt;&lt;br&gt;Interestingly, with an XHTML DOCTYPE, FireFox renders each &amp;quot;Foo&amp;quot; the same.&lt;br&gt;&lt;br&gt;</description></item><item><title>re: Whitespace significance. To standard or not to standard or 'don't change my HTML again!'</title><link>http://blogs.msdn.com/mikhailarkhipov/archive/2004/09/21/232706.aspx#232748</link><pubDate>Wed, 22 Sep 2004 08:50:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:232748</guid><dc:creator>Michael Teper</dc:creator><description>Text formatting and rendering are different topics. Please keep text formatting as typed!</description></item><item><title>re: Whitespace significance. To standard or not to standard or 'don't change my HTML again!'</title><link>http://blogs.msdn.com/mikhailarkhipov/archive/2004/09/21/232706.aspx#232830</link><pubDate>Wed, 22 Sep 2004 13:48:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:232830</guid><dc:creator>Jeff Parker</dc:creator><description>Please Please Please stick with standard.&lt;br&gt;&lt;br&gt;BTW please work with the asp.net controls team. Most of the code from the controls simply will not validate. by the w3c validator. XHTML  that is. I have never understood why people can go so strictly to the standard of XML but never follow the standards of HTML Google reports 4,285,199,774 web pages that it searches currently. Now Imagine if XML Standards was treated as willy nilly as the HTML standard is. Every XML document would be basically worthless. No real common way to get data in. The Microsoft XML Namespace would be worthless since it would only talk to other microsoft xml documents. It is time to start fixing abused html. It can be fixed and has been clearly defined in XHTML as far as sintax and quotations and case. But MS being the biggest software company right now can only help by forcing it as well.&lt;br&gt;&lt;br&gt;Also out of those 4,285,199,774 web pages I would love to know how many of them have had to have multiple versions because of browser not following the standards. &lt;br&gt;&lt;br&gt;And one more thing call me crazy but I remember back in the days IE 4 came to life. It was originally the geeks, the developers who started the revolution to IE. Why because IE 4 followed simple standards better than Netscape. There is a big shift now off to firefox, why, they support html standards much better and much stricter. I know when I finally seen IE 4 I personally told several people to upgrade to it. Before all they used was Netscape. There really wasn;t another competing browser IE 3 was terrible. Win the developers by not deviating from standards so we do not have to do more work just to get something simple like html to work properly and you going to come out on top smiling. </description></item><item><title>re: Whitespace significance. To standard or not to standard or 'don't change my HTML again!'</title><link>http://blogs.msdn.com/mikhailarkhipov/archive/2004/09/21/232706.aspx#232851</link><pubDate>Wed, 22 Sep 2004 14:43:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:232851</guid><dc:creator>b.gr</dc:creator><description>&amp;lt;Comment mode=&amp;quot;Standard zealot&amp;quot;&amp;gt;This HTML fragment is not valid.&amp;lt;/Comment&amp;gt;&lt;br&gt;&lt;br&gt;Anyway, adding the required tags makes no difference (nor the XHTML doctype Julian Harse mentioned) so it is a bug in the other browsers - doesn't happen often, eh? So, keep with the standard when possible but leave the code as typed :)</description></item><item><title>re: Whitespace significance. To standard or not to standard or 'don't change my HTML again!'</title><link>http://blogs.msdn.com/mikhailarkhipov/archive/2004/09/21/232706.aspx#232873</link><pubDate>Wed, 22 Sep 2004 15:36:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:232873</guid><dc:creator>Shannon J Hager</dc:creator><description>Stick to the standard and assume that Firefox will correct any rendering bugs it has.  And hope that IE will do the same.  You should not assume that the standards will change to conform with a browser bug, you should assume the bugs will be corrected to conform with the standard(s).</description></item><item><title>re: Whitespace significance. To standard or not to standard or 'don't change my HTML again!'</title><link>http://blogs.msdn.com/mikhailarkhipov/archive/2004/09/21/232706.aspx#232970</link><pubDate>Wed, 22 Sep 2004 18:24:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:232970</guid><dc:creator>c.a.</dc:creator><description>Leave the code as the developer wrote it.  Please don't mess with our code in a way where you think you are helping us out.  If you want to include xhtml validators and such in the IDE that would be great, but if a developer writes a conforming page or not is up to the developer ( although I highly stress sticking to standards when writing markup ).&lt;br&gt;&lt;br&gt;Nothing is more frustrating, and almost insulting than when the code you just wrote gets changed around because the IDE thinks it's helping out.</description></item><item><title>re: Whitespace significance. To standard or not to standard or 'don't change my HTML again!'</title><link>http://blogs.msdn.com/mikhailarkhipov/archive/2004/09/21/232706.aspx#233053</link><pubDate>Wed, 22 Sep 2004 21:02:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:233053</guid><dc:creator>Mikhail Arkhipov (MSFT)</dc:creator><description>Let me clarify this a bit. Don't wprry, existing code formatting WILL NOT change. However, new (or heavily changed) markup may be formatted not the way you expect since we may be too careful with white space significance.</description></item><item><title>re: Whitespace significance. To standard or not to standard or 'don't change my HTML again!'</title><link>http://blogs.msdn.com/mikhailarkhipov/archive/2004/09/21/232706.aspx#233229</link><pubDate>Thu, 23 Sep 2004 06:47:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:233229</guid><dc:creator>bigor</dc:creator><description>it's a MOZILLA BUG, Duh! :)&lt;br&gt;&lt;br&gt;</description></item><item><title>re: Whitespace significance. To standard or not to standard or 'don't change my HTML again!'</title><link>http://blogs.msdn.com/mikhailarkhipov/archive/2004/09/21/232706.aspx#239740</link><pubDate>Fri, 08 Oct 2004 12:47:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:239740</guid><dc:creator>Suggestion</dc:creator><description>Why don't you let the user decide if they want their code to be reformatted? VS.net gives you the option, and then ignores your selection. I find it hard to believe that you can't understand why people call that a bug. &lt;br&gt;&lt;br&gt;BTW -- You could always add a CodeSweeper function, like in HomeSite, and let people manually decide if they want formatting &amp;amp; error checking help.&lt;br&gt;&lt;br&gt;$.02</description></item><item><title>re: Whitespace significance. To standard or not to standard or 'don't change my HTML again!'</title><link>http://blogs.msdn.com/mikhailarkhipov/archive/2004/09/21/232706.aspx#245396</link><pubDate>Wed, 20 Oct 2004 23:25:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:245396</guid><dc:creator>bg</dc:creator><description>I apologize if this is slightly off topic but I was trying to write an addin to solve the html rewrite issue when switching between design view and html view. it's no problem to hook the edit &amp;gt; advanced &amp;gt; format document option using the guid: &lt;br&gt;{1496a755-94de-11d0-8c3f-00c04fc2aae2}&lt;br&gt;and the command id: 319. However this is not the proper hook to get the behavior to stop when the design tab is clicked from the html tab. I was wondering if you could provide me with the guid and command id for that event as I could not find a list of guids and cmdIDs for VS2003. Thanks.</description></item><item><title>re: Whitespace significance. To standard or not to standard or 'don't change my HTML again!'</title><link>http://blogs.msdn.com/mikhailarkhipov/archive/2004/09/21/232706.aspx#245414</link><pubDate>Thu, 21 Oct 2004 00:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:245414</guid><dc:creator>Mikhail Arkhipov (MSFT)</dc:creator><description>Your HTML is reformatted not because of some formatting code that you cannot turn off. Have a look here:&lt;br&gt;&lt;br&gt;&lt;a target="_new" href="http://weblogs.asp.net/mikhailarkhipov/archive/2004/05/16/132886.aspx"&gt;http://weblogs.asp.net/mikhailarkhipov/archive/2004/05/16/132886.aspx&lt;/a&gt;&lt;br&gt;&lt;br&gt;It also provides a link to an articale that describes how to format HTML on view switch if you want to fix it. But you cannot make VS stop modifying it.</description></item></channel></rss>