Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

What is the recommended tool for Windows for checking if an XML file is valid?

The Jira pre-migration checklist states that we should use the query below to find out if our file is valid:

xmllint --noout <Backup File Location>/entities.xml
xmllint --noout <Backup File Location>/activeobjects.xml : 100118

If the command does not produce an output, the file is valid. Any exceptions point to the spot with the formatting error.

The problem is this is essentially a Linux-only option.  I looked for xmllint for Windows and I haven't found a simple solution.

1 answer

1 accepted

0 votes
Answer accepted

Hi Rob,

Fair question - I reckon Atlassian should update their documentation.

I'm personally a big fan of chocolatey, so I ran in Powershell

choco install xsltproc

and that gave me what I want.

That's the second most popular answer on this SO thread:

xml - Installing xmllint - Stack Overflow

You're otherwise welcome to follow the recommended procedure if you don't currently use chocolatey.

Cheers, Jimmy

Atlassian recommended CYGWIN, and that worked well for me, thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Atlassian Cloud Migration

Cloud migration resources roundup: June 2021

...ustomers receive an estimated 155% ROI and total benefits/savings of $1.8M over three years! Check out the report and the rest of our newest resources below, as well as our tried and true that m...

163 views 0 9
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