XUL/XML解析错误:未定义实体<;列表项
有人知道为什么会出现这个错误吗XUL/XML解析错误:未定义实体<;列表项,xml,xhtml,xul,Xml,Xhtml,Xul,有人知道为什么会出现这个错误吗 <?xml version="1.0"?> <?xml-stylesheet href="chrome://onsip/content/options/options.css"?> <!DOCTYPE dialog SYSTEM "chrome://onsip/locale/options.dtd"> <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://onsip/content/options/options.css"?>
<!DOCTYPE dialog SYSTEM "chrome://onsip/locale/options.dtd">
<dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
id="onsip-options-dialog"
title="OnSIP Options"
buttons="accept, cancel"
ondialogaccept="onsip.saveOptions()">
<script src="chrome://onsip/content/onsip.js"/>
<script src="chrome://onsip/content/preferences.js"/>
<script src="chrome://onsip/content/options/options.js"/>
<hbox flex="1">
<listbox id="onsip-page-list" onselect="onsip.changePage(this)">
<listitem label="&onsip.options.general.label;" selected="true" value="chrome://onsip/content/options/pages/general.xul" />
</listbox>
<vbox flex="1">
<iframe flex="1" id="onsip-options-iframe"
src="chrome://onsip/content/options/pages/general.xul"/>
</vbox>
</hbox>
</dialog>
代码在上面,如果有人对XUL有更广泛的了解,请留言,我们将非常感谢。检查
中是否存在&onsip.options.general.label
chrome://onsip/locale/options.dtd
。如果没有定义它。问题是“ru-ru”本地化不存在,因此为了解决这个问题,我刚刚对“ru”进行了本地化,但仍然没有了解如何设置默认本地化。还要检查chrome://onsip/content/options/pages/general.xul
查找语法错误。