Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/xml/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
XUL/XML解析错误:未定义实体<;列表项_Xml_Xhtml_Xul - Fatal编程技术网

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
查找语法错误。