0

I have an XML file that's 6.7GB compressed. I want to check this is valid XML from the command line. I tried using xmlstarlet and xmllint but the both balloned in memory.

Is there some sort of stream XML validator for linux I can run on the command line?

Amandasaurus
  • 31,471
  • 65
  • 192
  • 253

1 Answers1

2

Did you try xmllint --stream?

ko-dos
  • 1,369
  • 8
  • 10