Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Error parsing XML, line 43, column 5: The element type "link" must be terminated by the matching end

When i am going to save below xtml in my blog than showing this message

"Error parsing XML, line 43, column 5: The element type "link" must be terminated by the matching end-tag "</link>"

Please help how i can solve this issue.



<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Daily Shop | Home</title>

<!-- Font awesome -->
<link href="css/font-awesome.css" rel="stylesheet">
<!-- Bootstrap -->
<link href="css/bootstrap.css" rel="stylesheet">
<!-- SmartMenus jQuery Bootstrap Addon CSS -->
<link href="css/jquery.smartmenus.bootstrap.css" rel="stylesheet">
<!-- Product view slider -->
<link rel="stylesheet" type="text/css" href="css/jquery.simpleLens.css">
<!-- slick slider -->
<link rel="stylesheet" type="text/css" href="css/slick.css">
<!-- price picker slider -->
<link rel="stylesheet" type="text/css" href="css/nouislider.css">
<!-- Theme color -->
<link id="switcher" href="css/theme-color/default-theme.css" rel="stylesheet">
<!-- <link id="switcher" href="css/theme-color/bridge-theme.css" rel="stylesheet"> -->
<!-- Top Slider CSS -->
<link href="css/sequence-theme.modern-slide-in.css" rel="stylesheet" media="all">

<!-- Main style sheet -->
<link href="css/style.css" rel="stylesheet">

<!-- Google Font -->
<link href='' rel='stylesheet' type='text/css'>
<link href='' rel='stylesheet' type='text/css'>

<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src=""></script>
<script src=""></script>


2 answers

0 votes
Minh Tran Atlassian Team Jan 08, 2020

@Nazmus Sadat, can you please let me know how you save that content into your blog? 

i am trying to save this content by Edit Theme HTML. Have any other way? Please advise.




0 votes

Most of the tags in that block of code are not closed properly.

For example, in


<title>Daily Shop | Home</title>

<!-- Font awesome -->
<link href="css/font-awesome.css" rel="stylesheet">


Lines 1 and 2 are closed properly, but line 3 is not.  Note the bold character in the first line.

Minh Tran Atlassian Team Jan 08, 2020

@Nic Brough _Adaptavist_,
Tag omission in text/html: No end tag.
"Void elements: ... link ..."
"Void elements only have a start tag; end tags must not be specified for void elements."

The link tag does not need the end tag, you can see its specification here "As it is a void element, the start tag must be present and the end tag must not be present"

Another thing, the error is pointing to a different line "Error parsing XML, line 43, column 5: The element type "link" must be terminated by the matching end-tag "</link>"

So i suspect it happens because of another reason

Yes, I'm aware of that, but I was looking at the first part of the error message.

Error parsing XML , not html.  It is well formed html, but it's being processed as though it is XML.  Either the program needs to be set to understand that it is html, or it needs to be well-formed xml

Sorry.  When I answered the question, I was looking at a system that stores data as XML and dynamically converts it to html when it needed it in that format.  I should have explained that the html/xml difference in my original answer

Minh Tran Atlassian Team Jan 09, 2020

True, that is why i was curious how @Nazmus Sadat saved that xhtml into the blog. Then we can isolate why this happened

Hi Minh Tran,

Please can you advise me what to do now?

Minh Tran Atlassian Team Jan 11, 2020

@Nazmus Sadat Can you tell me how exact you save above xhtml as blog post? 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence Cloud

Share your Confluence Cloud experience for a chance to win $500!

Take our 5-minute survey to win a $500 Visa gift card! Are you currently using Confluence Cloud? We want to hear from you! Fill out this quick survey about your Confluence Cloud experience so we ...

311 views 5 14
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you