Closed jwinarske closed 4 years ago
Hello, jwinarke and thanks for the pull request but :
1) Linux paths are indeed case sensitive
2) This is not a folder path but an xpath filter, and the standard defines include as lowercase : https://www.w3.org/TR/xinclude/
3) The bugs come from ARM's xml files, in my caveat emptor : "As long as the ARM Develloper Studio files are not correct in the source i cannot guarantee the completeness or accuracy of the generated SVDs" : the explanation is that they include files that don't exist.
What your fix does is actually make it so that the tools doesn't find the xincludes at all, of course dodging the "file does not exist" completely ;)
you will find in the 'in' folder all the input files from arm dev studio with a manual fix. This issue have been raised towards arm by one of their employees but it will take time is it is fixed at all.
i will try to work on this to check the file existence actually...
joel,
i fixed the (rather stupid) bug in master, can you try please ? you will be able to find all the xinclude errors in arm's xml corpus listed in out/xinclude_error.log
Ah! I just checked with master, and it works :)
Installing sudo apt-get install libsaxonhe-java
on Ubuntu 18.04 it defaults to Saxon-HE-9.8.0.8.jar, but it does install a symlink Saxon-HE.jar
. For make to work I have to point SAXONHE_PATH
to the symlink.
saxon-HE : yeah it does the same on debian, i will change the makefile so it points to the symlink and will add it as a comment to the readme
i will close the pull request
jg
Found an issue with case sensitivity on the include folder. I suspect this will address https://github.com/Jegeva/ads2svd/issues/1
Without this change I see:
Thanks for the tool :)