How to validate very large XML files?

前端 未结 11 2493
失恋的感觉
失恋的感觉 2020-12-16 15:44

How can I validate a large XML file (>100mb)? I try to open it with IE, FX & GC and it either crashes or doesn\'t do anything.

11条回答
  •  一向
    一向 (楼主)
    2020-12-16 16:36

    You can try using a command-line validator, for example xmlstarlet:

    $ xmlstarlet validate bigfile.xml
    

提交回复
热议问题