-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to load ESI files from regular constructors like Omron #1
Comments
\u{feff}
#2 fixes everything except handling of the duplicate |
Multiple Names are now also handled. |
Hey, unfortunately i'm still unable to load esi-files from Nanotec, i get errors like those: called If i remove the "Su" entries, i'm getting this errors: called Edit: the files can be found in this package: https://de.nanotec.com/produkte/2533-plug-drive-studio-2 |
@v-morlock I can confirm the file can't be read. |
The xml parser is also a bit out of date. Using the new one causes some other tests to fail. So here is an other PR that needs to be fixed: #4 I have no idea if i will get around to it soon, so if you feel like it, feel free to work on it already 😉 |
Hello dear maintainers
I'm trying to learn to use crate
ethercat
, but having an issue with the ESI XML filesI'm trying to run
ethercat/examples/cyclic-data.rs
but the XML parsing fails with my ESI filesI tried the following files: xml.zip
both work well on the sysmac-studio software, so I doubt there is something wrong about the files themselves. They both give the same parser errors when loaded by
ethercat-esi
\u{feff}
is a character that marks the file as utf-8, so it should be considered as whitespace. I added it tois_whitespace_char()
inxml-rs
Then I fall into a new error
It seems that
ethercat-esi
doesn't handle locale variants in xml files, so I removed the duplicates and run again to get the following errorThe fields mentionned are not missing in the xml files, so I don't know what is wrong.
I tried to fix
ethercat-esi
by switching it fromserde-xml-rs
toquick-xml
, but it gave me the same kind of error as the latest ones, as we can see on this issueIs there a way to fix all these issues from
ethercat-esi
(especially the missing fields) ?The text was updated successfully, but these errors were encountered: