This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

XML parsing error

  • 2 replies
  • 0 have this problem
  • 2 views
  • Last reply by mfcn

more options

All of my other bookmarks are accessible as normal. Previously my links to www.legislation.gov.uk worked normally but two days ago the link (and sublinks to specific legislation, which give different line and column numbers) has received the following error message

XML Parsing Error: mismatched tag. Expected: </link>. Location: https://www.legislation.gov.uk/ Line Number 32, Column 128:

</script><link rel="stylesheet" href="https://127.0.0.1:49742/stylesheet?id=I171D1SJAn6h_z0I"></head><body xml:lang="en" dir="ltr" id="per" class="home">
<script type="text/javascript">
^

I am a non-techie user and would appreciate advice in normal speak. Thanks Mike Nason

All of my other bookmarks are accessible as normal. Previously my links to www.legislation.gov.uk worked normally but two days ago the link (and sublinks to specific legislation, which give different line and column numbers) has received the following error message XML Parsing Error: mismatched tag. Expected: </link>. Location: https://www.legislation.gov.uk/ Line Number 32, Column 128: </script><!--End Google Tag Manager--><link rel="stylesheet" href="https://127.0.0.1:49742/stylesheet?id=I171D1SJAn6h_z0I"></head><body xml:lang="en" dir="ltr" id="per" class="home"><div id="preloadBg"><script type="text/javascript"> ---------------------------------------------------------------------------------------------------------------------------------------------^ I am a non-techie user and would appreciate advice in normal speak. Thanks Mike Nason

All Replies (2)

more options

You can try these steps in case of issues with webpages:

You can reload webpage(s) and bypass the cache to refresh possibly outdated or corrupted files.

  • hold down the Shift key and left-click the Reload button
  • press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
  • press "Command + Shift + R" (Mac)

Clear the Cache and remove the Cookies for websites that cause problems via the "3-bar" Firefox menu button (Settings).

"Remove the Cookies" for websites that cause problems:

  • Settings -> Privacy & Security
    Cookies and Site Data: "Manage Data"

"Clear the Cache":

  • Settings -> Privacy & Security
    Cookies and Site Data -> Clear Data -> [X] Cached Web Content -> Clear

If you use extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) that can block content (Adblock Plus, NoScript, DuckDuckGo PE, Disconnect, Ghostery, Privacy Badger, uBlock Origin) always make sure such extensions do not block content.

  • make sure your extensions and filters are updated to the latest version

Start Firefox in Troubleshoot Mode to check if one of the extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) or if hardware acceleration or if userChrome.css/userContent.css is causing the problem.

  • switch to the Default System theme: "3-bar" menu button or Tools -> Add-ons -> Themes
  • do NOT click the "Refresh Firefox" button on the Troubleshoot Mode start window

You can remove all data stored in Firefox for a specific domain via "Forget About This Site" in the right-click context menu of an history entry ("History -> Show All History" or "View -> Sidebar -> History").

Using "Forget About This Site" will remove all data stored in Firefox for this domain like history and cookies and passwords and exceptions and cache, so be cautious. If you have a password or other data for that domain that you do not want to lose, make sure to backup this data or make a note.

You can't recover from this 'forget' unless you have a backup of involved files.

If you revisit a 'forgotten' website, data for that website will be saved once again.

more options

Thanks for the advice. Unfortunately, having tried all of the suggestions to the best of my abilty, still having the same problem. It is only the legislation.gov.uk sites that are effected - all of my other bookmarks work. I uninstalled Firefox and then downloaded the latest version. Before importing my bookmarks and typing in the website address I was still blocked. Trying to access via a Google search the URL response still has the same result.

I think I am not knowledgeable enough for technical workarounds - I can access the legislation website by way of an i-Pad so will have to be satisfied with that.

Thanks anyway, Mike Nason