473,386 Members | 1,630 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,386 software developers and data experts.

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 1672
"PJ" <pj***@hotmail.com> wrote in message
news:O6**************@TK2MSFTNGP11.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***********@surfcontrol.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**************@TK2MSFTNGP11.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**************@TK2MSFTNGP10.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***********@surfcontrol.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**************@TK2MSFTNGP12.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**************@TK2MSFTNGP10.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****************@TK2MSFTNGP09.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**************@TK2MSFTNGP12.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**************@TK2MSFTNGP10.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**************@TK2MSFTNGP09.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****************@TK2MSFTNGP09.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**************@TK2MSFTNGP12.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**************@TK2MSFTNGP10.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**************@TK2MSFTNGP09.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***********@surfcontrol.com
Nov 17 '05 #9
"PJ" <pj***@hotmail.com> wrote in message
news:eT**************@TK2MSFTNGP09.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***********@surfcontrol.com
Nov 17 '05 #10
A simple look at W3C's web site shows that XHTML 1.0 was standardized on Jan
26, 2000. Working versions were available long before that. HTML 4 (which is
also not supported by Asp.Net) was standardized on December 18, 1997 - way
ahead of the .Net framework was designed.

Don't use this as an argument, it won't stand.

Jerry

"John Saunders" <john.saunders at surfcontrol.com> wrote in message
news:OE**************@TK2MSFTNGP12.phx.gbl...
"PJ" <pj***@hotmail.com> wrote in message
news:eT**************@TK2MSFTNGP09.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***********@surfcontrol.com

Nov 17 '05 #11
A simple look at W3C's web site shows that XHTML 1.0 was standardized on Jan
26, 2000. Working versions were available long before that. HTML 4 (which is
also not supported by Asp.Net) was standardized on December 18, 1997 - way
ahead of the .Net framework was designed.

Don't use this as an argument, it won't stand.

Jerry

"John Saunders" <john.saunders at surfcontrol.com> wrote in message
news:OE**************@TK2MSFTNGP12.phx.gbl...
"PJ" <pj***@hotmail.com> wrote in message
news:eT**************@TK2MSFTNGP09.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***********@surfcontrol.com

Nov 17 '05 #12
Thought this bunch might be interested in the following
announcement.

We are pleased to announce we are accepting applications
to participate in
our limited public beta of XhtmlWebControls. The controls
are a complete
replacement for the System.Web.UI.WebControls namespace.
These controls
produce 100% XHTML Strict 1.0 compliant code and only
contain properties
that are 100% compliant with XHTML Strict 1.0 DTD. Below
is a list of the
controls that this product contains.

XAdRotator
XButton
XCalendar
XCheckBox
XCheckBoxList
XComment
XCompareValidator
XCustomValidator
XDataGrid
XDataList
XDiv
XDropDownList
XForm
XGeneral
XHtmlList
XHyperlink
XImage
XImageButton
XInputFile
XLabel
XListBox
XLinkButton
XPage
XPanel
XParagraph
XRadioButton
XRadioButtonList
XRangeValidator
XRegularExpressionValidator
XRepeater
XRequiredFieldValidator
XSelfClose
XSpan
XTable
XTextArea
XTextBox
XValidationSummary

There are over 150 classes included and involved in
supporting these
objects. You can apply to participate in the limited
public beta at
http://www.xhtmlwebcontrols.net
We have also set up a public discussion forum at
http://forums.xhtmlwebcontrols.net

--------------------------------
Peter Ladka
Xhtml 1.0 Strict Web Controls
www.xhtmlwebcontrols.net

Nov 17 '05 #13
Thought this bunch might be interested in the following
announcement.

We are pleased to announce we are accepting applications
to participate in
our limited public beta of XhtmlWebControls. The controls
are a complete
replacement for the System.Web.UI.WebControls namespace.
These controls
produce 100% XHTML Strict 1.0 compliant code and only
contain properties
that are 100% compliant with XHTML Strict 1.0 DTD. Below
is a list of the
controls that this product contains.

XAdRotator
XButton
XCalendar
XCheckBox
XCheckBoxList
XComment
XCompareValidator
XCustomValidator
XDataGrid
XDataList
XDiv
XDropDownList
XForm
XGeneral
XHtmlList
XHyperlink
XImage
XImageButton
XInputFile
XLabel
XListBox
XLinkButton
XPage
XPanel
XParagraph
XRadioButton
XRadioButtonList
XRangeValidator
XRegularExpressionValidator
XRepeater
XRequiredFieldValidator
XSelfClose
XSpan
XTable
XTextArea
XTextBox
XValidationSummary

There are over 150 classes included and involved in
supporting these
objects. You can apply to participate in the limited
public beta at
http://www.xhtmlwebcontrols.net
We have also set up a public discussion forum at
http://forums.xhtmlwebcontrols.net

--------------------------------
Peter Ladka
Xhtml 1.0 Strict Web Controls
www.xhtmlwebcontrols.net

Nov 17 '05 #14

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

Similar topics

0
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...
59
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...
32
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...
16
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");...
82
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...
2
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...
12
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
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...
11
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...
10
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
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...
0
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...
0
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...

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.