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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,391
Community Members
 
Community Events
176
Community Groups

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

Rob Horan Community Leader May 18, 2021

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

Rob Horan Community Leader May 24, 2021

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

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events