-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Cannot upload or create .xml file into editor.p5js #1741
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
Comments
Thanks for reporting! You are right, this is a bug. Luckily, it's a simple fix—this file extension just needs to be whitelisted. |
Thanks a lot for your quick answer Cassie! Glad to know it's just a very small bug and it could be resolved easily without to much effort. By the way, I've just observed that it is also not possible to create or rename a file with .html extension. It can be usefull to have the possibility to add .html pages to a project, in order to show and let students experiment the opportunity of different graphic user interfaces and different modules into a same project. Thanks for all your work and this of others on this great tool! |
Hello @catarak. Can I work on this? |
@SundeepChand yes! go ahead |
@Wildernesss I'm going to break out the HTML file issue into a separate issue. |
Hi everyone,
Teaching the different data file format, I need to upload a .csv, .json and .xml file into p5.js web editor. Doing this, the editor gives an error message (after upload trial) : 'You can't upload files of this type'. When trying to create an empty .xml file, the editor says: 'Invalid file type. Valid extensions are .js, .css, .json, .txt, .csv, .tsv, .frag, and .vert.' So it's impossible to work with .xml files...
I don't see any reason to forbid adding .xml file to an online Processing project. Even more when p5.js librariy provides a loadXML() function and resources in order to process .xml data. Is it a bug and could it be corrected?
Thanks a lot for your attention and help!
Laurent
The text was updated successfully, but these errors were encountered: