用w3c验证0错误 [英] validation with w3c with 0 errors
问题描述
我正在努力获得一个有效的XML网站。我尝试通过w3c验证器验证它
并删除它返回的所有错误。现在它
只是说我的代码无效且有0个错误。可以
有人告诉我它有什么问题吗?
http://staff.science.uva.nl/~ygrange/bla/index.xml
谢谢很多
Hi,
I am trying to get a working XML website. I tried to validate it
through the w3c validator and removed all errors it returned. Now it
just says that my code is not valid and that there are 0 errors. Could
anyone tell me what is wrong with it?
http://staff.science.uva.nl/~ygrange/bla/index.xml
thanks a lot
y.g.g.
推荐答案
* y-man在comp.text中写道。 xml:
* y-man wrote in comp.text.xml:
>我正在努力获得一个有效的XML网站。我试图通过w3c验证器验证它并删除它返回的所有错误。现在它只是说我的代码无效且有0个错误。可以
有人告诉我它有什么问题吗?
>I am trying to get a working XML website. I tried to validate it
through the w3c validator and removed all errors it returned. Now it
just says that my code is not valid and that there are 0 errors. Could
anyone tell me what is wrong with it?
W3C标记验证器目前不适合您的需求,您需要选择其他工具来检查XML文档。据推测,
这里的问题是Validator不知道您使用的DTD是否为
。
-
Bj?rn H?hrmann·mailto:bj **** @ hoehrmann.de· http:// bjoern.hoehrmann.de
Weinh。海峡。 22·Telefon:+49(0)621/4309674· http://www.bjoernsworld.de
68309曼海姆·PGP Pub。 KeyID:0xA4357E78· http://www.websitedev.de/
The W3C Markup Validator is not currently suited for your needs, you
should pick some other tool to check your XML documents. Presumably
the issue here is that the Validator does not know the DTD you are
using.
--
Bj?rn H?hrmann · mailto:bj****@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
Bjoern Hoehrmann schreef:
Bjoern Hoehrmann schreef:
* y-man在comp.text.xml中写道:
* y-man wrote in comp.text.xml:
我正在努力获得一个有效的XML网站。我尝试通过w3c验证器验证它
并删除它返回的所有错误。现在它
只是说我的代码无效且有0个错误。可以
有人告诉我它有什么问题吗?
I am trying to get a working XML website. I tried to validate it
through the w3c validator and removed all errors it returned. Now it
just says that my code is not valid and that there are 0 errors. Could
anyone tell me what is wrong with it?
W3C标记验证器目前不适合您的需求,您需要选择其他工具来检查XML文档。据推测,
这里的问题是Validator不知道您使用的DTD是否为
。
-
Bj?rn H?hrmann·mailto:bj **** @ hoehrmann.de· http:// bjoern.hoehrmann.de
Weinh。海峡。 22·Telefon:+49(0)621/4309674· http://www.bjoernsworld..de
68309曼海姆·PGP Pub。 KeyID:0xA4357E78· http://www.websitedev.de/
啊哈!谢谢,那么对于这种类型的XML有什么好的验证器呢?
aha! Thank you, so what is a good validator for this type of XML then?
y-man schrieb:
y-man schrieb:
我正在努力获得一个有效的XML网站。我尝试通过w3c验证器验证它
并删除它返回的所有错误。现在它
只是说我的代码无效且有0个错误。可以
有人告诉我它有什么问题吗?
I am trying to get a working XML website. I tried to validate it
through the w3c validator and removed all errors it returned. Now it
just says that my code is not valid and that there are 0 errors. Could
anyone tell me what is wrong with it?
< http://validator.w3.org/check?verbose = 1& uri = http%3A%2F%2Fstaff.science.uva .nl% 2F~ygrange%2Fbla%2Findex.xml>:
缺少charset属性为text / xml文件。
您的Web服务器发送的HTTP Content-Type标头(text / xml)
(Apache / 1.3.37(Unix)mod_ssl / 2.8 .28 OpenSSL / 0.9.8d PHP / 4.4.4)没有
包含charset参数,但Content-Type是XML
text / *子类型之一。
相关规范(RFC 3023)指定了强默认值
" us-ascii"对于这些文件,我们将使用此值,无论
您可能在其他地方指示的任何编码。
如果您想使用不同的编码,应该安排
让你的服务器发送这个新的编码信息。
-
Johannes Koch
in te domine speravi;非永久性的东西。
(Te Deum,4美分。)
<http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fstaff.science.uva .nl%2F~ygrange%2Fbla%2Findex.xml>:
Missing "charset" attribute for "text/xml" document.
The HTTP Content-Type header (text/xml) sent by your web server
(Apache/1.3.37 (Unix) mod_ssl/2.8.28 OpenSSL/0.9.8d PHP/4.4.4) did not
contain a "charset" parameter, but the Content-Type was one of the XML
text/* sub-types.
The relevant specification (RFC 3023) specifies a strong default of
"us-ascii" for such documents so we will use this value regardless of
any encoding you may have indicated elsewhere.
If you would like to use a different encoding, you should arrange to
have your server send this new encoding information.
--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)
这篇关于用w3c验证0错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!