Internetworkexpert / INE-VIRL

INE VIRL Topologies & Initial Configs
http://www.INE.com
156 stars 152 forks source link

Removing configs with illegal characters from .virl topologies #9

Closed tombry closed 7 years ago

tombry commented 7 years ago

Bug fix: enable MV Maestro to open these files again. We were getting the error, "no data allowed in prolog," when attempting to open these files. The problem was that these topologies had nodes with no config but did have a config element in the XML. That XML element contained content that started with the 16-bit byte order mark (BOM). The BOM should only be used at the start of a Unicode file. These illegal UTF-8 characters were tripping up the XML parser that we were using and causing the strange error.

See also https://learningnetwork.cisco.com/thread/102734.