Closed jmendys closed 1 year ago
Can you please attach an example of an xml/xsl file and the R code that I can use to reproduce the crash?
Example files are attached. While preparing the example I realized that the problem exists if the xsl:output method is set to 'text'. Without this declaration, the call behaves properly... test.zip
Thanks, I can reproduce the crash on Windows (not on macos, strangely). I'll look into it.
Thanks this is fixed now. You now get a proper R error if there is a problem with the xslt, instead of a crash.
You can download the new version from: https://ropensci.r-universe.dev/xslt
Thank you for the super-fast response and the fix! It's working even better now :-) I need to reach out to xml2 team to fix a similar issue with their package
Hello! Thank you for this package. It is very useful but I find it difficult to work with as it causes R studio to crash.
Steps to reproduce:
The relevant error message will be displayed (like those provided in brackets in examples) but a few seconds later the R studio will crash.
![image](https://user-images.githubusercontent.com/10653685/220149741-bb84cd62-5564-41e9-b046-cd551df72b71.png)
PS If the XSL file is an invalid XML then when opening the file with xml2::read_xml(filename):
R Studio version: 4.1.0 xml2 version: 1.3.3 xslt version: 1.4.3 (all installed packages are updated to the most recent version)
Sys.info():