On Startup I am getting XML Parsing Error: undefined entity

5,730 views
Skip to first unread message

Robert Laurie

unread,
Jan 31, 2013, 12:49:36 AM1/31/13
to blueg...@googlegroups.com
On Startup I am getting:

XML Parsing Error: undefined entity
Location: chrome://bluegriffon/content/xul/bluegriffon.xul
Line Number 63, Column 1:<window
^

BlueGriffon will not start when I close this window.

Is this a registry error or something else?

Daniel Glazman

unread,
Jan 31, 2013, 10:41:28 AM1/31/13
to blueg...@googlegroups.com
Probably a corrupted profile. I recommend you clobber your
bluegriffon user profile, relaunch bluegriffon and reinstall
your add-ons if you have bought some.

</Daniel>

Robert Laurie

unread,
Feb 8, 2013, 6:24:47 AM2/8/13
to blueg...@googlegroups.com
Yes that worked. 

Yngve Mare

unread,
Feb 11, 2013, 12:54:15 PM2/11/13
to blueg...@googlegroups.com
Unfortunately it didn't work for me...
First i removed  c:\Users\yourlogin\AppData\Roaming\Disruptive Innovations SARL  and then relaunched BG, same error.
Then I uninstalled BG, removed the above folder, installed BG again, same error...

Did I remove the right folder?

/Yngve

Yngve Mare

unread,
Feb 12, 2013, 4:03:10 PM2/12/13
to blueg...@googlegroups.com
Actually, my error output is different from Robert's (apart from mine being in Swedish), different address, different line and column numbers.
And, I get it when trying to open Preferences.

XML-tolkningsfel: odefinierad entitet
Adress: chrome://bluegriffon/content/prefs/prefs.xul
Radnummer 10, Kolumn 1:
<prefwindow
^
/Yngve

Yngve Mare

unread,
Feb 14, 2013, 2:50:51 AM2/14/13
to blueg...@googlegroups.com
Anybody have a clue on how to solve this??? I really would like to use "Preferences"...
What can I do more than uninstalling, removing profile, reinstall from scratch?

/Yngve

Martin Karlsson

unread,
Feb 15, 2013, 6:51:48 AM2/15/13
to blueg...@googlegroups.com
I think I've found the problem! The swedish prefs.dtd file is seriously damaged compared to the english one. Why this is, I don't know. I don't think I've submitted a patch for the translation that removed all lines in the swedish prefs.dtd, but there might have been some parsing error in the one I submitted to Daniel due to a fault on my part.

Daniel, can you look into this? As far as I can tell the last time I touched prefs.dtd was the translation from mars 7th of last year: http://bugzilla.bluegriffon.org/show_bug.cgi?id=278#c26
I've tracked it down to revision 361. Prefs.dtd is fine in revision 360, and destroyed in 361.


Ynge and Andreas:
Removing the profiles directory reset the language to english for me, but I'm on Linux so that's another directory. Have a look here and figure out if you have another directory that needs removing: http://bluegriffon.org/pages/Download
Note that it's different if you're on XP.

Yngve Mare

unread,
Feb 16, 2013, 1:45:21 PM2/16/13
to blueg...@googlegroups.com
Nice to hear Martin!
I hope there will be a bug fix available soon... For me, the language is for some reason set to Swedish by default when I install, even though my Win 7 is English, so removing the profile won't reset language to English :-(

/Yngve

Martin Karlsson

unread,
Feb 17, 2013, 12:11:10 PM2/17/13
to blueg...@googlegroups.com
Try this:

  • Start Bluegriffon so that your profile directory gets created
  • Open prefs.js in your profile directory ([Profile Directory]/bluegriffon/[some random characters].default/prefs.js)
  • Add these two lines at the bottom (possibly exchange if similar lines already exists)

user_pref("general.useragent.locale", "en-US");
user_pref("intl.locale.matchOS", false);


I tried it, and the interface was changed to English after that :)

Yngve Mare

unread,
Feb 17, 2013, 1:30:45 PM2/17/13
to blueg...@googlegroups.com
Thank you! At last!
The first of the lines was already there, so I added the second one... Only to find that it was removed after starting BG. Then I put it first in the file... And this time it worked, the language switched to US, and I could open "preferences"!!!

/Yngve

Andreas75k

unread,
Feb 17, 2013, 2:39:51 PM2/17/13
to blueg...@googlegroups.com
Thanks, that worked great!!

/Andreas


Den söndagen den 17:e februari 2013 kl. 18:11:10 UTC+1 skrev Martin Karlsson:

Daniel Glazman

unread,
Feb 18, 2013, 2:47:13 AM2/18/13
to blueg...@googlegroups.com
On 16/02/13 14:47, Dimitri Gathy wrote:
> I have a xml parsing error when i use "new wizard". i'm on ubuntu 12.04
> 32bIts. xml parsing error:undefined entity
> location:chrome://bluegriffon/content/dialoogs/newpagewizard.xul line
> number 113, column 7: <checkbox id="polyglotcheckbox"______^

Seems like a bug. I apparently had a svn hickup on Ubuntu. I will
work on that issue this afternoon.

</Daniel>


juan rf

unread,
Mar 1, 2013, 7:30:24 AM3/1/13
to blueg...@googlegroups.com


Excuse me... I have exactly the same problem than Daniel, but I don't understand
what it means "clobber your BG user profile" Thanks




Charles Cooke

unread,
Mar 1, 2013, 7:57:48 AM3/1/13
to blueg...@googlegroups.com, jua...@gmail.com
He means 'delete your user profile'. Just delete all the files. You can find out where they are by reading the BlueGriffon download page.

Enterlen

unread,
Mar 25, 2013, 6:52:33 AM3/25/13
to blueg...@googlegroups.com
Not realising this was a common problem I had posted it anew. I've deleted profile, got rid of BG 1.6.1, loaded 1.6.2, deleted profile and still I get the error notice same as Robert. Nothing seems to get rid of it. I am not using Swedish Language! Any suggestions? I don't want to give up on it
Enterlen

Martin Karlsson

unread,
Mar 25, 2013, 8:08:14 AM3/25/13
to blueg...@googlegroups.com
What language are you using? Does the error occur regardless of language used?

Daniel Glazman

unread,
May 20, 2013, 11:40:38 AM5/20/13
to blueg...@googlegroups.com
On 18/05/13 17:54, Justin Wu wrote:
>
> Hi,
>
> I just downloaded BlueGriffon v1.7 and installed it, and I found same
> problem (bug?). I googled and found that this do solved my problem.
> Finally I can set my preferences. I would like to provide more
> information and hope this bug to be solve soon.
>
> Here is my environment.
> OS: Windows 7 sp-1, 64 bit
> OS UI language: En-US
> OS locale: Taiwan
> BlueGriffon version: v1.7
>
> Problem description:
> During set up BlueGriffon, I chose set up language as Traditional
> Chinese (Taiwan). And when I first time start BG, the UI language was
> Traditional Chinese too. But when I wanted to set preferences, it showed
> up error message. And I was unable to set any preferences.

Justin, it's a holiday here today but I'll investigate tomorrow
and will report back. Could be a bug in the L10N files for zh-TW.

</Daniel>

Martin Karlsson

unread,
May 20, 2013, 11:54:51 AM5/20/13
to blueg...@googlegroups.com
Daniel,

Justin says his OS locale is Taiwan, but the OS language is En-US. Is it possible there's also a bug (apart from a presumed error in zh-TW files) that chose the wrong language when BlueGriffon starts? I don't know if bug is the right word, but I would expect BlueGriffon to honour the UI language (English in Justins case) rather than other locales that might have been chosen by the user.

I for instance use the Swedish locale for time, date and currency, but my UI is otherwise in English. (I don't have this problem though, but I'm using Ubuntu.) I'm thinking there might be some other way for BlueGriffon to inspect the locales of the OS when it starts, possible only related to Windows.

/Martin

Dominik Lenné

unread,
May 28, 2013, 8:49:39 AM5/28/13
to blueg...@googlegroups.com
This thread is a little bit messed up, because it actually is about two different problems, which have only the "xml parsing error" message in common (and some relation to the language settings):
  1. error on startup (original post)
  2. error opening "preferences"
Anyone posting should explicitly mention, which error he/she is referring to.

I personally have just been hit by No. 1, after yesterday having played around with all kinds of language settings. 
Deleting the user profile and restarting worked finally.

Martin Karlsson

unread,
May 28, 2013, 9:59:36 AM5/28/13
to blueg...@googlegroups.com
I think it comes down to what happens when you delete the user profile. If that means you're resetting the UI language of BlueGriffon back to English from some other language, I think it safe to assume that the fault is the "same": some sort of error in the language files of the other language. Then it's just a question of which file the error is in.

lionelbg

unread,
Jun 1, 2013, 3:10:21 PM6/1/13
to blueg...@googlegroups.com
 have got the same problem when install  update Bluegriffon  and use css plug in .
I close all Firefox active exe in memory 
I remove all Bluegriffon directory 
  C:\Users\username\AppData\Local\Disruptive Innovations SARL

   C:\Users\username\AppData\Roaming\Disruptive Innovations SARL

   C:\Program Files (x86)\BlueGriffon

I reinstall Bluegriffon 17 in another default directory with suffix( BlueGriffonEN17) and then the css editor extension and all work . 

It is strange that many users have the same error . 

Blue griffon 1.7 must change some file compare to 1.6 


bluegriffon_crash.png

lionelbg

unread,
Jun 1, 2013, 3:13:28 PM6/1/13
to blueg...@googlegroups.com
he error in windows 8 64 bit are locate in 
C:\Users\username\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_bluegriffon.exe_3147bde9a957cbc62694df71257ae8c124a25c54_2ad011ce

lionelbg

unread,
Jun 1, 2013, 3:15:16 PM6/1/13
to blueg...@googlegroups.com
I forgort this to my last post to make it work again 
 
for bluegriffon in C:/programfile i use the bluegriffon desinstaller  , i don't delete the directory 



lionelbg

unread,
Jun 4, 2013, 4:05:11 PM6/4/13
to blueg...@googlegroups.com


The error  after reboot OS   is already here so the steps don't solve the problem . Perhaps  go back to old bluegriffon version ll be better ... i  ll try .

regard's

Garret Wilson

unread,
Nov 19, 2015, 3:59:08 PM11/19/15
to bluegriffon
Lovely---now I'm getting a similar error with BlueGriffon 1.8.

I switch to a different computer on which I had BlueGriffon 1.7 installed earlier. I made sure it was uninstalled. I installed BlueGriffon 1.8 and I get:

XML Parsing Error: undefined entity
Location: chrome://bluegriffon/content/xul/bluegriffon.xul
Line Number 146, Column 4:
   <key id="key_BGdelete" key="&deleteCmd.key;" modifiers="accel" command="cmd_BGdelete"/> 
   ---^


I uninstalled BG and deleted the C:\Users\username\AppData\Local\Disruptive Innovations SARL directory. No luck; after installing BG 1.8 again, I get the same error message. So I cannot use the program. What next?

Garret Wilson

unread,
Nov 19, 2015, 4:05:28 PM11/19/15
to bluegriffon
OK, I got around it. It appears I had to delete the C:\Users\username\AppData\Roaming\Disruptive Innovations SARL directory as well.

Zach Rutledge

unread,
Dec 12, 2015, 5:15:35 AM12/12/15
to bluegriffon
I don't even have any AppData directory under Users\(myname) at all.  I'm in Windows 10.  I did a computer-wide search for any directory with the world "SARL" in it, nothing found.  And I get the same XML Parsing Error as the original poster.
Reply all
Reply to author
Forward
0 new messages