Firefox 3.0上のFoxmarksで「XML パースエラー」が発生する?
Foxmarks 2.0.47.4の設定画面を開こうとすると、「XML パースエラー: 定義されていない実体が使用されています。」というエラーが発生し開けない。この不具合の修正方法をこのエントリにメモしておく。(環境:Windows Vista + Firefox 3.0 + Foxmarks Bookmark Synchronizer 2.0.47.4)
※[2008/07/08追記] Foxmarks Bookmark Synchronizer 2.1.0.12でも発生している
■エラー内容
XML パースエラー: 定義されていない実体が使用されています。
URL: chrome://foxmarks/content/foxmarks-dialog.xul
行番号: 76, 列番号: 29:
<label class="text-link" onclick='FoxmarksForgot()' value="&dialog.label.forgotPassword;" />

[2008/07/08追記]2.1.0.12の場合、行番号: 77, 列番号: 29:
■エラー修正手順
1. foxmarks.dtdファイルをテキストエディタで開く(UTF-8)。Windows Vistaの場合、foxmarks.dtdは下記フォルダの中にある(Vistaの場合)。
C:\Users\ユーザ名\AppData\Roaming\Mozilla\Firefox\Profiles\ランダム値.default\extensions\foxmarks@kei.com\chrome\chromeFiles\locale\ja
※XPでは試してないが、フォルダのパスは以下になるはず:
C:\Documents and Settings\ユーザ名\Application Data\Mozilla\Firefox\Profiles\ランダム値.default\extensions\foxmarks@kei.com\chrome\chromeFiles\locale\ja
2. 5行目に次の一文を加え、ファイル保存する

3. Firefoxを再起動する
以上で完了である。
kfall+ Firefoxのブックマークをインターネット経由で同期できるアドオン(Foxmarks)
■追記:もっと簡単なエラー修正手順
もっと簡単な修正方法としては、
C:\Users\ユーザ名\AppData\Roaming\Mozilla\Firefox\Profiles\ランダム値.default\extensions\foxmarks@kei.com\chrome\chromeFiles\locale\ja-JP\foxmarks.dtd
を
C:\Users\ユーザ名\AppData\Roaming\Mozilla\Firefox\Profiles\ランダム値.default\extensions\foxmarks@kei.com\chrome\chromeFiles\locale\ja\foxmarks.dtd
に上書きコピーすればよい(ファイルの場所はVistaの場合)。
一応、上書きする前にファイルのバックアップを取っておいたほうがよい。
[2008/07/08 追記]
iもぉだぁさんによると、Macの場合は
HD名称/Users/**ユーザ名/Library/Application Support/Firefox/Profiles/ランダム値.default/extensions/foxmark@kei.com/chrome /chromeFiles/locale/ja-jp/foxmarks.dtd
を
HD名称/Users/**ユーザ名/Library/Application Support/Firefox/Profiles/ランダム値.default/extensions/foxmark@kei.com/chrome /chromeFiles/locale/ja/foxmarks.dtd
に[option]キ−を押しながらドラッグアンドドロップし、上書きすればよいらしいです。
※[2008/07/08追記] Foxmarks Bookmark Synchronizer 2.1.0.12でも発生している
■エラー内容
XML パースエラー: 定義されていない実体が使用されています。
URL: chrome://foxmarks/content/foxmarks-dialog.xul
行番号: 76, 列番号: 29:
<label class="text-link" onclick='FoxmarksForgot()' value="&dialog.label.forgotPassword;" />
[2008/07/08追記]2.1.0.12の場合、行番号: 77, 列番号: 29:
■エラー修正手順
1. foxmarks.dtdファイルをテキストエディタで開く(UTF-8)。Windows Vistaの場合、foxmarks.dtdは下記フォルダの中にある(Vistaの場合)。
C:\Users\ユーザ名\AppData\Roaming\Mozilla\Firefox\Profiles\ランダム値.default\extensions\foxmarks@kei.com\chrome\chromeFiles\locale\ja
※XPでは試してないが、フォルダのパスは以下になるはず:
C:\Documents and Settings\ユーザ名\Application Data\Mozilla\Firefox\Profiles\ランダム値.default\extensions\foxmarks@kei.com\chrome\chromeFiles\locale\ja
2. 5行目に次の一文を加え、ファイル保存する
<!ENTITY dialog.label.forgotPassword "I forgot my username or password">
3. Firefoxを再起動する
以上で完了である。
kfall+ Firefoxのブックマークをインターネット経由で同期できるアドオン(Foxmarks)
■追記:もっと簡単なエラー修正手順
もっと簡単な修正方法としては、
C:\Users\ユーザ名\AppData\Roaming\Mozilla\Firefox\Profiles\ランダム値.default\extensions\foxmarks@kei.com\chrome\chromeFiles\locale\ja-JP\foxmarks.dtd
を
C:\Users\ユーザ名\AppData\Roaming\Mozilla\Firefox\Profiles\ランダム値.default\extensions\foxmarks@kei.com\chrome\chromeFiles\locale\ja\foxmarks.dtd
に上書きコピーすればよい(ファイルの場所はVistaの場合)。
一応、上書きする前にファイルのバックアップを取っておいたほうがよい。
[2008/07/08 追記]
iもぉだぁさんによると、Macの場合は
HD名称/Users/**ユーザ名/Library/Application Support/Firefox/Profiles/ランダム値.default/extensions/foxmark@kei.com/chrome /chromeFiles/locale/ja-jp/foxmarks.dtd
を
HD名称/Users/**ユーザ名/Library/Application Support/Firefox/Profiles/ランダム値.default/extensions/foxmark@kei.com/chrome /chromeFiles/locale/ja/foxmarks.dtd
に[option]キ−を押しながらドラッグアンドドロップし、上書きすればよいらしいです。