XML not well formed
In the XML file, the SYSNAME XML tag contains extra characters
Import into Fusioninventory for GLPI plugin ends with an error : "XML not well formed"
Here is what I see in php-errors.log :
- PHP Warning(2): simplexml_load_string(): <SYSNAME>BAT-A-N1_AP5�</SYSNAME>
Can you clean this characters in the agent output ?
Actual config :
Plugin Fusioninventory 0.90+1.2.
Fusioninventory Agent 2.3.17 (NetInventory task 2.2.1)
#1 Updated by Guillaume Bougard over 1 year ago
- Status changed from New to Feedback
- Assignee set to Guillaume Bougard
- Target version set to 2.3.19
Can you explain us how SYSNAME is set ? Is it set through devices web interface ?
This is weird to find HTML entities in Sysname and maybe the problem is a step before. And this may be a problem for other tool you may use if they find such format in SNMP key.
So it is still useful for us to know if we may obtain mal-formed values and if we should clean up values in that case.
Then I agree, this HTML entities should not be included anyway in the XML.
#3 Updated by Walid Nouh 8 months ago
Can you retry with a 2.3.20 agent ?
If yes, could you open an issue on github : https://github.com/fusioninventory/fusioninventory-agent/issues and link to to this issue.