Skip to content

Cannot upload or create .xml file into editor.p5js #1741

Closed
@Wildernesss

Description

@Wildernesss

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

  • Web browser and version: Google Chrome Version 86.0.4240.75 (Build officiel) (32 bits)
  • Operating System: Windows 10 Pro 64 bits version 1909 / 18363.1316

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First IssueA beginner-friendly issue, great for first-time contributorsHelp WantedWould love additional input or contributions!Priority:HighShould be addressed soon but not critical

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions