473,803 Members | 3,913 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.NET and XHTML

PJ
How is it that Microsoft sits on the w3c, participates in XHTML
standardization and then completely misses the ball with asp.net?

Does Microsoft have any plans/announcements/concern whatsover with making
asp.net generate valid XHTML? It seems like these changes would be fairly
trivial for them, much easier than it would be for me to write a filter
and/or override the necessary classes.

~PJ


Nov 17 '05 #1
13 1700
"PJ" <pj***@hotmail. com> wrote in message
news:O6******** ******@TK2MSFTN GP11.phx.gbl...
How is it that Microsoft sits on the w3c, participates in XHTML
standardization and then completely misses the ball with asp.net?

Does Microsoft have any plans/announcements/concern whatsover with making
asp.net generate valid XHTML? It seems like these changes would be fairly
trivial for them, much easier than it would be for me to write a filter
and/or override the necessary classes.

When did the XHTML become final?
--
John Saunders
Internet Engineer
jo***********@s urfcontrol.com
Nov 17 '05 #2
And you are worried that microsoft has dropped the ball on XHTML because...?

"PJ" <pj***@hotmail. com> wrote in message
news:O6******** ******@TK2MSFTN GP11.phx.gbl...
How is it that Microsoft sits on the w3c, participates in XHTML
standardization and then completely misses the ball with asp.net?

Does Microsoft have any plans/announcements/concern whatsover with making
asp.net generate valid XHTML? It seems like these changes would be fairly
trivial for them, much easier than it would be for me to write a filter
and/or override the necessary classes.

~PJ

Nov 17 '05 #3
PJ
Visit http://validator.w3.org/file-upload.html and try to validate the
markup from any one of your asp.net pages to xhtml 1.0 ( strict or
transitional ). Matter in fact, I bet you'd have a very tough time even
getting one to validate properly to HTML 4.01 Strict.

Do I need to enumerate shortcomings for you? Apparently so. Please educate
yourself before asking such questions.

- Hidden inputs are not valid as a direct child of a form tag. They must be
contained w/in another containing element (div, span, etc).
- <script> tags must contain a type attribute ( type="text/javascript").
The <script> tags that asp.net generates do not contain this attribute.
- id attributes on elements cannot begin with underscores ( as in
__EVENTTARGET, __EVENTARGUMENT , __VIEWSTATE ).
- name is not a valid attribute ( as in the name attribute written to the
main form. this also invalidates the non DOM javascript that asp.net
generates.
- script must be contained w/ in a CDATA section
- <img runat="server" tags will automatically add a "border" attribute which
is not valid.
- ...

It's much more difficult for me as a developer to difficult for me as a
developer to write a filter to make all the necessary changes to the output,
input then it is for MS to simply modify the asp.net engine to render valid
markup for the developers chosen schema.

"Alvin Bruney" <vapordan_spam_ me_not@hotmail_ no_spamhotmail. com> wrote in
message news:um******** ******@TK2MSFTN GP10.phx.gbl...
And you are worried that microsoft has dropped the ball on XHTML because...?

Nov 17 '05 #4
PJ
I don't understand how people can make a job of writing web applications and
not visit the w3c site regurlarly.
http://www.w3c.org/MarkUp/
http://www.w3.org/TR/xhtml1/
http://www.w3.org/TR/xhtml11/

XHTML 1.0 (strict, transitional), 1.1(strict) has been complete for years.
The next standard in the works is XHTML 2.0.

bookmark www.webstandards.org

When did the XHTML become final?
--
John Saunders
Internet Engineer
jo***********@s urfcontrol.com

Nov 17 '05 #5
well with that kind of nasty attitude while looking for help, you won't get
any from me
"PJ" <pj***@hotmail. com> wrote in message
news:uG******** ******@TK2MSFTN GP12.phx.gbl...
Visit http://validator.w3.org/file-upload.html and try to validate the
markup from any one of your asp.net pages to xhtml 1.0 ( strict or
transitional ). Matter in fact, I bet you'd have a very tough time even
getting one to validate properly to HTML 4.01 Strict.

Do I need to enumerate shortcomings for you? Apparently so. Please educate yourself before asking such questions.

- Hidden inputs are not valid as a direct child of a form tag. They must be contained w/in another containing element (div, span, etc).
- <script> tags must contain a type attribute ( type="text/javascript").
The <script> tags that asp.net generates do not contain this attribute.
- id attributes on elements cannot begin with underscores ( as in
__EVENTTARGET, __EVENTARGUMENT , __VIEWSTATE ).
- name is not a valid attribute ( as in the name attribute written to the
main form. this also invalidates the non DOM javascript that asp.net
generates.
- script must be contained w/ in a CDATA section
- <img runat="server" tags will automatically add a "border" attribute which is not valid.
- ...

It's much more difficult for me as a developer to difficult for me as a
developer to write a filter to make all the necessary changes to the output, input then it is for MS to simply modify the asp.net engine to render valid markup for the developers chosen schema.

"Alvin Bruney" <vapordan_spam_ me_not@hotmail_ no_spamhotmail. com> wrote in
message news:um******** ******@TK2MSFTN GP10.phx.gbl...
And you are worried that microsoft has dropped the ball on XHTML

because...?


Nov 17 '05 #6
PJ
I apologize...I'm just a bit frustrated at the lack of concern over this.
Greater concern toward standards within the development community would only
make our lives easier in the long run.

"Alvin Bruney" <vapordan_spam_ me_not@hotmail_ no_spamhotmail. com> wrote in
message news:eX******** ********@TK2MSF TNGP09.phx.gbl. ..
well with that kind of nasty attitude while looking for help, you won't get any from me
"PJ" <pj***@hotmail. com> wrote in message
news:uG******** ******@TK2MSFTN GP12.phx.gbl...
Visit http://validator.w3.org/file-upload.html and try to validate the
markup from any one of your asp.net pages to xhtml 1.0 ( strict or
transitional ). Matter in fact, I bet you'd have a very tough time even
getting one to validate properly to HTML 4.01 Strict.

Do I need to enumerate shortcomings for you? Apparently so. Please educate
yourself before asking such questions.

- Hidden inputs are not valid as a direct child of a form tag. They must be
contained w/in another containing element (div, span, etc).
- <script> tags must contain a type attribute ( type="text/javascript").
The <script> tags that asp.net generates do not contain this attribute.
- id attributes on elements cannot begin with underscores ( as in
__EVENTTARGET, __EVENTARGUMENT , __VIEWSTATE ).
- name is not a valid attribute ( as in the name attribute written to

the main form. this also invalidates the non DOM javascript that asp.net
generates.
- script must be contained w/ in a CDATA section
- <img runat="server" tags will automatically add a "border" attribute

which
is not valid.
- ...

It's much more difficult for me as a developer to difficult for me as a
developer to write a filter to make all the necessary changes to the

output,
input then it is for MS to simply modify the asp.net engine to render

valid
markup for the developers chosen schema.

"Alvin Bruney" <vapordan_spam_ me_not@hotmail_ no_spamhotmail. com> wrote in message news:um******** ******@TK2MSFTN GP10.phx.gbl...
And you are worried that microsoft has dropped the ball on XHTML

because...?



Nov 17 '05 #7
Not really. As much as I'd like to see Microsoft to adhere to standards and
then extend them (but not extend without supporting first) I don't think it
would make our lives any easier. Standards change, sometimes considerably,
breaking "code" between different versions, and in the case of HTML/XHTML
there is not a single browser that supports W3C's standards (even Mozilla is
not supporting such basics as aligning columns in tables, try to create a
price list with that piece of HTML not supported). Nobody cares about fully
supporting standards, even if Microsoft did you would still have to cater to
users of products that don't. I would not change a thing.

Jerry

"PJ" <pj***@hotmail. com> wrote in message
news:eT******** ******@TK2MSFTN GP09.phx.gbl...
I apologize...I'm just a bit frustrated at the lack of concern over this.
Greater concern toward standards within the development community would only make our lives easier in the long run.

"Alvin Bruney" <vapordan_spam_ me_not@hotmail_ no_spamhotmail. com> wrote in
message news:eX******** ********@TK2MSF TNGP09.phx.gbl. ..
well with that kind of nasty attitude while looking for help, you won't

get
any from me
"PJ" <pj***@hotmail. com> wrote in message
news:uG******** ******@TK2MSFTN GP12.phx.gbl...
Visit http://validator.w3.org/file-upload.html and try to validate the
markup from any one of your asp.net pages to xhtml 1.0 ( strict or
transitional ). Matter in fact, I bet you'd have a very tough time even getting one to validate properly to HTML 4.01 Strict.

Do I need to enumerate shortcomings for you? Apparently so. Please

educate
yourself before asking such questions.

- Hidden inputs are not valid as a direct child of a form tag. They must
be
contained w/in another containing element (div, span, etc).
- <script> tags must contain a type attribute ( type="text/javascript"). The <script> tags that asp.net generates do not contain this attribute. - id attributes on elements cannot begin with underscores ( as in
__EVENTTARGET, __EVENTARGUMENT , __VIEWSTATE ).
- name is not a valid attribute ( as in the name attribute written to

the main form. this also invalidates the non DOM javascript that asp.net
generates.
- script must be contained w/ in a CDATA section
- <img runat="server" tags will automatically add a "border" attribute

which
is not valid.
- ...

It's much more difficult for me as a developer to difficult for me as a developer to write a filter to make all the necessary changes to the

output,
input then it is for MS to simply modify the asp.net engine to render

valid
markup for the developers chosen schema.

"Alvin Bruney" <vapordan_spam_ me_not@hotmail_ no_spamhotmail. com> wrote in message news:um******** ******@TK2MSFTN GP10.phx.gbl...
> And you are worried that microsoft has dropped the ball on XHTML
because...?
>



Nov 17 '05 #8
"PJ" <pj***@hotmail. com> wrote in message
news:eT******** ******@TK2MSFTN GP09.phx.gbl...
I apologize...I'm just a bit frustrated at the lack of concern over this.
Greater concern toward standards within the development community would only make our lives easier in the long run.


Most of us are more interested in getting the job done than in whining over
standards compliance.

Also, some of us have a clue at the lead time involved in developing a
product like ASP.NET. My question "when was the XHTML standard finished" was
really, "was the XHTML standard finished and stable to a useful degree early
enough for Microsoft to provide adherence to this standard in the ASP.NET
1.0 timeframe?" I'm willing to bet that the answer is "no".

Bitch about it if XHTML support isn't in ASP.NET 2.0.
--
John Saunders
Internet Engineer
jo***********@s urfcontrol.com
Nov 17 '05 #9
"PJ" <pj***@hotmail. com> wrote in message
news:eT******** ******@TK2MSFTN GP09.phx.gbl...
I apologize...I'm just a bit frustrated at the lack of concern over this.
Greater concern toward standards within the development community would only make our lives easier in the long run.


Most of us are more interested in getting the job done than in whining over
standards compliance.

Also, some of us have a clue at the lead time involved in developing a
product like ASP.NET. My question "when was the XHTML standard finished" was
really, "was the XHTML standard finished and stable to a useful degree early
enough for Microsoft to provide adherence to this standard in the ASP.NET
1.0 timeframe?" I'm willing to bet that the answer is "no".

Bitch about it if XHTML support isn't in ASP.NET 2.0.
--
John Saunders
Internet Engineer
jo***********@s urfcontrol.com
Nov 17 '05 #10

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

Similar topics

0
1660
by: Peter Rohleder | last post by:
Hi, I have a few simple questions in order to use modularized xhtml and getting it to work. A simple example may make this obviouse: Lets say we want to create a simple xml-file to reflect a faq-structure.
59
4782
by: Philipp Lenssen | last post by:
I've tested some of the new Nokia 6600 functionality. It ships with WAP2 and XHTML Support (it says). What it does is check the Doctype -- if it's not the XHTML Mobile Profile Doctype, but a XHTML1.0 Strict one, the media-handheld CSS is _ignored_. Only with the Nokia Doctype, the CSS is used. I find this really annoying as it goes against the whole idea of media-independent XHTML Strict along with stylesheets. On the good side, WML...
32
4544
by: jp29 | last post by:
My take on problems composing, serving and rendering XHTML documents/web pages: 1. Typical conscientious web authors are producing XHTML documents (Web pages) that feature valid Markup and with the content (MIME) type specified as text/html (http://keystonewebsites.com/articles/mime_type.php). These pages are then loaded on to their Server where they are served to Rendering Agents (browsers) as HTML (SGML application) documents with no...
16
7119
by: Mcginkel | last post by:
I am trying to find a way to load XHTML content in an Iframe. I use to do this in html by using the following code : var iframeObject = document.createElement("iframe"); MyDiv.appendChild(iframeObject); var data = "<html><head><title>testing</title></head><body>data</body></html>" iframeObject.contentDocument.open(); iframeObject.contentDocument.writeln(data);
82
5723
by: Buford Early | last post by:
I read this in http://annevankesteren.nl/2004/12/xhtml-notes "A common misconception is that XHTML 1.1 is the latest version of the XHTML series. And although it was released a bit more than a year later then the first version of XHTML 1.0, the second edition is actually newer. Furthermore, XHTML 1.1 is not really the follow-up of XHTML 1.0" I thought that XHTML 1.1 was the follow-up to XHTML 1.0 and that XHTML 2.0 will someday be the...
2
2643
by: Joris Janssens | last post by:
I'm trying to write a program for validating XHTML 1.1-documents against the XHTML 1.1 DTD (which is actually the same as validating an XML-file) but I always get a "(404) Not found" error. This is the program itself : ******************************************************************** using System; using System.Xml; using System.Xml.Schema;
12
2417
by: Alex D. | last post by:
How can I stop asp.net from rendering XHTML istead of HTML? My javascripts are rendering wrong because of that. It is rendering &amp; to clients instead of &. Any help? Thanks, Alejandro.
11
4214
by: Tomek Toczyski | last post by:
What is the best way to attach a caption to an image in xhtml? I can attach a caption to a table by a "<caption>" tag but I would like to do sth similar to an image. How to do it in a natural way? -tt.
11
3113
by: Michael Powe | last post by:
How can I make an XHTML-compliant form of an expression in this format: document.write("<scr"+"ipt type='text/javascript' src='path/to/file.js'>"+"</scr"+"ipt>"); this turns out to be a non-trivial exercise. inserting '&lt;' and '&gt;' causes the browser to write the text to the page as literal text rather than as the intended script element. Using escape codes seemed to work (makes it standard compliant) but the text is not written to...
10
2082
by: Robert Huff | last post by:
Can someone offer suggestions why, on the same server (Apache 2.2.8), this works <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html lang="en-US"> <head> <link rel=stylesheet type="text/css" href="proj_default.css" title="ss_default"> <title>Testing html</title> </head>
0
9703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9564
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10548
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10316
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10295
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9125
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7604
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6842
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5500
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...

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.