question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

critical: BlueGriffon 3.0.1 adds duplicate XHTML xmlns attributes

See original GitHub issue

I have a typical XHTML5 file that starts like this:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">

If I go into Source mode and do some cutting and pasting (e.g. cutting a <li> and moving it around in a list), BlueGriffon will duplicate the xmlns="http://www.w3.org/1999/xhtml", resulting in this:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml"

  lang="en-US">

(The extra line is because of #7 , which hasn’t been fixed in almost two years, and on which I’ve put a USD$200 bounty that no one has taken advantage of.)

The extra xmlns attribute makes this a corrupted and non-well-formed XML file.

But it gets worse: now that BlueGriffon is in this mode of adding the extra xmlns attribute, it forces it to be added whatever I do. Even if I go to the Source tab and remove it, BlueGriffon will still save the duplicate attribute, writing a corrupted file that I cannot even load back into BlueGriffon.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
garretwilsoncommented, Jan 10, 2018

It’s great that you fixed this so quickly. Thank you!

But do you intend to provide binary builds of the 3.1 release? I’ve been checking your web site frequently so I could get a fix for this problem, but I only see 3.0.1 available.

0reactions
nosy-bcommented, Apr 4, 2019

Yes it is quite a huuuge problem 😃 I would love to see the installer getting updated with r3.1 too

Read more comments on GitHub >

github_iconTop Results From Across the Web

bluegriffon-3.0.1.win-x86_64.exe
Suspicious Indicators 19 · Contains ability to query CPU information. details: cpuid (Show Stream); source · Reads the active computer name.
Read more >
Software Updates Latest Topics - RSSing.com
Features: WYSIWYG web editor; Based on Gecko, the rendering engine of Firefox; Create and edit all HTML 4, XHTML 1 and HTML 5...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found