Jump to content

Checking for well-formed XML


ravinggenius

Recommended Posts

I am parsing a bunch of XML files. Nearly all of them are well-formed, but due to a bug beyond my control, some may not be. Is there a quick and easy way to verify that the XML is well-formed before attempting to parse it? I'd really like to just skip the bad files and deal with them later by hand. I tried to use XML_check, but it seems to have an error in it.

Link to comment
https://forums.phpfreaks.com/topic/126478-checking-for-well-formed-xml/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.