使用XHTML代理更准确地测试XHTML文档 [英] More accurate testing of XHTML documents with XHTML Proxy

查看:52
本文介绍了使用XHTML代理更准确地测试XHTML文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!


我想宣布XHTML代理,这项服务可以更准确地测试XHTML文档。


< http://hixie.ch/advocacy/xhtml>声明发送XHTML为text / html

认为有害因为作者编写XHTML,假设

仅对标签汤或HTML4 UA有效。并且可能会发现网站

可怕地破坏当他们决定发送与

application / xhtml + xml相同的内容时。


这是XHTML代理可以提供帮助的地方。它隧道传输HTTP请求并将text / html资源的MIME类型更改为application / xml。然后,您可以使用

XHTML用户代理(如Firefox,Opera或Amaya)浏览网站,而无需修改服务器配置。


只需转到< http://schneegans.de/xp/>并尝试一下。欢迎评论。


-

所有自由人,无论他们住在哪里,都是丹麦公民。并且因此,作为一名自由人,我为Jeg er dansker!这两个词感到自豪。

解决方案

Christoph Schneegans< Ch ******* @ Schneegans.de>写道:

我想宣布XHTML代理,这是一项允许更准确地测试XHTML文档的服务。

< http:/ /hixie.ch/advocacy/xhtml>声明将XHTML作为text / html发送
认为有害因为作者编写XHTML,假设
仅对标签汤或HTML4 UA有效。并且可能会发现网站
可怕地破坏当他们决定发送与
application / xhtml + xml相同的内容时。

这是XHTML代理可以提供帮助的地方。它将HTTP请求隧道化并将text / html资源的MIME类型更改为application / xml。然后,您可以使用
XHTML用户代理(如Firefox,Opera或Amaya)浏览网站,而无需修改服务器的配置。

只需转到< http ://schneegans.de/xp/>并尝试一下。评论欢迎。




这在各个方面都是如此愚蠢,你是否正在小便?


-

Spartanicus


" Spartanicus"写道:

< http://schneegans.de/xp/>



这是在各个方面都是愚蠢的,你是否正在小便?




你当然喜欢破解XHTML文件到正确的文件。


-

所有自由人,无论他们住在哪里,都是丹麦公民。因此,作为一个自由人,我为Jeg er dansker这个词感到自豪!




Christoph Schneegans写道:

" Spartanicus"写道:

< http://schneegans.de/xp/>



这是在各个方面都是如此愚蠢,你是否正在小便?



当然,您更喜欢破解XHTML文档到正确的文档。



我认为这是一个缺乏对XHTML的支持的情况,从IE浏览器的真实形式

,我相信他们会是其他人。

因此,您需要以文本/ HTML格式提供服务,或者只使用HTML

4.01严格。

大多数网络作者或该组中的很多人都选择使用HTML超过

XHTML的原因非常相似。他们不想写PHP

脚本来改变文档HTTP标题中的Domument类型,

他们宁愿只使用纯HTML,如果你使用的话XHTML是正确的

形式,你需要仍然将它作为HTML提供给IE和其他浏览器

没有XHTML支持。

-

关心乍得。 http://freewebdesign.cjb.cc


Hi!

I would like to announce XHTML Proxy, a service that allows more accurate
testing of XHTML documents.

<http://hixie.ch/advocacy/xhtml> states that "Sending XHTML as text/html
Considered Harmful" since "authors write XHTML that makes assumptions that
are only valid for tag soup or HTML4 UAs" and might find that the "site
breaks horribly" when they decide to "send the same content as
application/xhtml+xml".

This is where XHTML Proxy can help. It tunnels HTTP requests and changes
the MIME type of text/html resources to application/xml. You can then use
XHTML user agents such as Firefox, Opera or Amaya to browse a site without
modifications to the server''s configuration.

Just go to <http://schneegans.de/xp/> and give it a try. Comments welcome.

--
All free men, wherever they may live, are citizens of Denmark. And
therefore, as a free man, I take pride in the words "Jeg er dansker!"

解决方案

Christoph Schneegans <Ch*******@Schneegans.de> wrote:

I would like to announce XHTML Proxy, a service that allows more accurate
testing of XHTML documents.

<http://hixie.ch/advocacy/xhtml> states that "Sending XHTML as text/html
Considered Harmful" since "authors write XHTML that makes assumptions that
are only valid for tag soup or HTML4 UAs" and might find that the "site
breaks horribly" when they decide to "send the same content as
application/xhtml+xml".

This is where XHTML Proxy can help. It tunnels HTTP requests and changes
the MIME type of text/html resources to application/xml. You can then use
XHTML user agents such as Firefox, Opera or Amaya to browse a site without
modifications to the server''s configuration.

Just go to <http://schneegans.de/xp/> and give it a try. Comments welcome.



This is so idiotic in every aspect, are you taking the piss?

--
Spartanicus


"Spartanicus" wrote:

<http://schneegans.de/xp/>



This is so idiotic in every aspect, are you taking the piss?



You prefer broken XHTML documents to proper ones, of course.

--
All free men, wherever they may live, are citizens of Denmark. And
therefore, as a free man, I take pride in the words "Jeg er dansker!"



Christoph Schneegans wrote:

"Spartanicus" wrote:

<http://schneegans.de/xp/>



This is so idiotic in every aspect, are you taking the piss?



You prefer broken XHTML documents to proper ones, of course.


I think it''s a case of a lack of support for XHTML, in it''s true form
from browsers such as IE and I am sure their would be others.
So you need to eather serve your pages as Text/HTML or just use HTML
4.01 Strict.
Most web authors, or a lot in this group anyway choose to use HTML over
XHTML for very similar reasons to this. They don''t want to write PHP
scripts to change the Domument type in the HTTP header of the document,
they would rather just use plain HTML, if you used XHTML in it''s proper
form, you would need to still serve it as HTML to IE and other browsers
that have no XHTML support.
--
Regards Chad. http://freewebdesign.cjb.cc


这篇关于使用XHTML代理更准确地测试XHTML文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆