Firebug"XML不能成为整个程序"是什么?错误信息是什么意思? [英] What does Firebug "XML cannot be the whole program" error message mean?

查看:95
本文介绍了Firebug"XML不能成为整个程序"是什么?错误信息是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚在Firebug中收到此错误消息.谷歌搜索什么都没发现,只是其他神秘的人!有人知道这意味着什么吗?

I just got this error message in Firebug. A google search reveals nothing but other mystified people! Does anyone have any idea what it means?

在此三行脚本的最后一行中指出:

It's being indicated on the last line of this 3-line script:

<script>
    g_BuildServer = "/";
</script>

推荐答案

如果将JavaScript放在js文件中(我认为是这样),请不要将脚本标记放到

If you put JavaScript in a js file (which I assume you did), do NOT put the script tags, put

g_BuildServer = "/";

仅.

否则,您只需向XML解析器提供XML文档作为脚本即可.

Otherwise, to the parser, you just provided an XML document as a script.

这篇关于Firebug"XML不能成为整个程序"是什么?错误信息是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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