Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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
Community showcase
Asked in Atlassian Cloud Migration

AMA with Chris Clarke: Head of Product, Migration Journey

Happy  Migrations Month ! If you haven’t heard, this January we’re hosting exclusive events, giving away cloudies, and sharing helpful resources as part of our #CountdownToCloud celebration. H...

533 views 7 16
View question

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