Invalid XML syntax?


Under gvm-20.08 with gvm-cli, the following simple XML code gets an invalid XML syntax error. While it used to works fine under gvm-11:

> <create_target>
> <name>GSC, Horgen-Feller, CH-Switzerland</name>
> <comment>CH-Switzerland</comment>
> <hosts>,,,,,,,,,,,,,,,,,</hosts>
> <port_list id='33d0cd82-57c6-11e1-8ed1-406186ea4fc5'></port_list>
> </create_target>

This is surely something completely stupid, but I really don’t see what. Under GSA, manually entering those works just fine.

Any clue ?

Nevermind, that was indeed a very stupid issue ! I was using --xml parameter with an input XML file; so the filename was actually considered as the XML code ! doh !