claeis / umleditor

6 stars 11 forks source link

Handling of ILI-files, saved as "UTF8 with BOM" #45

Open Pierre-de-la-Verre opened 3 years ago

Pierre-de-la-Verre commented 3 years ago

When I import an ILI, saved as UTF8 with BOM, there are no problems to display and arrange the diagram and ... But when I use "Tools - Interlis - Check models", it fails with this message:

11:49:06 Info: httpProxyPort <> 
11:49:06 Info: ilifile <C:\Users\USER\AppData\Local\Temp\umleditor4456159190451897598.ili> 
11:49:06 [Check model] expecting "TRANSFER", found 'INTERLIS' 
11:49:06 [Check model] unexpected char: / (0x2F) 11:49:06 [Check model] done

I don't know the dependencies, but here is a similar BOM problem: https://github.com/opengisch/QgisModelBaker/issues/470#issuecomment-776093915