General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
updating K-Meleon 1.0.2 about config error
Posted by: ndebord
Date: March 29, 2008 09:34PM

XML Parsing Error: undefined entity
Location: about:config
Line Number 84, Column 34: <label id="warningTitle">&scaryWarningTitle.label;</label>


Anybody? Can you help me figure out how I mucked up the update using Seamonkey 1.1.9 for KM 1.0.2?

Much thanks,

N

Options: ReplyQuote
Re: updating K-Meleon 1.0.2 about config error
Posted by: JujuLand
Date: March 29, 2008 10:08PM

The entity scaryWarningTitle.label hasn't been found in the dtd file where it's supposed to be found.

You must found the file to edit. To do it, you have 2 ways:

1) unzip the jar file, look in the xul file concerned where can be found (in which dtd file) the string. add the string, and rezip the file to try again.

2) use 7z, to Edit the file. When closing the editor, 7z will update the jar file.

Test it.

If you can't make it work in this way, just replace &scaryWarningTitle.label; by
scaryWarningTitle.label in the jar file.

You'll see scaryWarningTitle.label instead of the value, but you will bypass the error.

This error type is easy to correct with a little more experience. It seems you begin in this particular sport.

Welcome and good luck...smiling smiley

A+



Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0


Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr



Ubuntu 12.04 - Gramps 3.4.9 - Harbour 3.2.0 - Hwgui 2.20-3 - K-Meleon 76.0 rc





Edited 3 time(s). Last edit at 03/29/2008 10:10PM by JujuLand.

Options: ReplyQuote
Re: updating K-Meleon 1.0.2 about config error
Posted by: Fred
Date: March 30, 2008 03:09AM

I have uploaded an updated version KM1.02-18113.
So if it is necessary for you, you can download
the zip file from here :

http://rapidshare.com/files/103444135/K-Meleon1.02-1.8.1.13.zip.html

Regards
Fred

Options: ReplyQuote
Re: updating K-Meleon 1.0.2 about config error
Posted by: ndebord
Date: March 30, 2008 03:35AM

Al,

Which JAR file should I be looking at to edit?

Tks,

N

Options: ReplyQuote
Re: updating K-Meleon 1.0.2 about config error
Posted by: Fred
Date: March 30, 2008 04:33AM

The file for about:config is in

toolkit.jar>content>global>config.xul

and can also be called by the URL
chrome://global/content/config.xul

It depends on
chrome://global/content/config.css and
chrome://global/content/config.js
in toolkit.jar, and on
chrome://global/locale/config.properties and
chrome://global/locale/config.dtd
in en-US.jar

However, I could not get the error message, and
do not know what caused it, or how to correct
the fault.

Fred

Options: ReplyQuote
Re: updating K-Meleon 1.0.2 about config error
Posted by: guenter
Date: March 30, 2008 08:03AM

To correct such errors You can take all the mentioned files from a SeaMonkey Chrome and copy them in situ. Except perhaps the style sheet (css).

Else You have a look which of these.

chrome://global/locale/config.properties and
chrome://global/locale/config.dtd

One of them contains the new(old) entity that is undefined and belongs to the error.

p. s. You easiest take a Chrome from the K-Meleon 1.x. version You want to update.
K-Meleon Chromes still belong to their version when You update the GRE components.
Even PPL that could update Chromes rarely do so grinning smiley



Edited 1 time(s). Last edit at 03/30/2008 08:04AM by guenter.

Options: ReplyQuote
Re: updating K-Meleon 1.0.2 about config error
Posted by: ndebord
Date: March 30, 2008 03:18PM

Fred,

Thanks for the info about the jar file. I did not use your fix here, instead went for the easy way out and used your reliable update instead!

<VBG>

N

Options: ReplyQuote
Re: updating K-Meleon 1.0.2 about config error
Posted by: ndebord
Date: March 30, 2008 03:20PM

Guenter,

Looks like Fred's update did the trick. But it is good to hear about how to get into the nuts and bolts of the process, even if I seldom get around to actually mucking around inside jar files. (Working 24/7 once again.) SIGH

N

Options: ReplyQuote


K-Meleon forum is powered by Phorum.