MozTW 討論區 https://forum.moztw.org/ |
|
使用DTD 的 ENTITY 開啟 xul 時出現 Undifined Entity https://forum.moztw.org/viewtopic.php?f=18&t=14857 |
第 1 頁 (共 1 頁) |
發表人: | Holio [ 2006-07-16, 14:25 ] | ||
文章主題 : | 使用DTD 的 ENTITY 開啟 xul 時出現 Undifined Entity | ||
ftlk.xul 代碼: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE window SYSTEM "ftlk.dtd"> <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <box align="center"> <button label="&label1.title;"/> </box> </window> ftlk.dtd 代碼: <?xml version="1.0" encoding="UTF-8"?> <!ENTITY label1.title "For The Lich King"> error msg 代碼: XML Parsing Error: undefined entity
Location: file:///***/ftlk.utf-8.xul Line Number 6, Column 9: <button label="&label1.title;"/> --------^ 會是編碼的問題嗎 可是我用iconv做過-t utf-8了 還是出現一樣錯誤 請版上先前指點 ![]() 符上code
|
第 1 頁 (共 1 頁) | 所有顯示的時間為 UTC + 8 小時 |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |