heissgetraenk / fcmcua

FreeCAD Motion Control Workbench: Link a motion controller to a FreeCAD assembly using OPC UA
GNU General Public License v3.0
14 stars 4 forks source link

Check encoding of package.xml #27

Closed chennes closed 1 year ago

chennes commented 1 year ago

The package.xml file currently in place is either not UTF-8 encoded, or it is but includes a header bit (which is not permitted in a package.xml file).

heissgetraenk commented 1 year ago

I found some weird invisible chars in the header line after standalone="no". Namely a #xC2 and a #x0A which I feel like don't belong in there. Removing them hopefully fixes it.

From what I can tell, those chars seem to come from copy and pasting the example xml from https://wiki.freecad.org/Package_Metadata#Examples ...

xml_parse_error