AlainCouthures / xsltforms

XForms to XHTML+Javascript (AJAX) conversion based on a unique XSL transformation. Suitable server-side (PHP) or client-side (Google Chrome, Edge, Internet Explorer, Mozilla FireFox, Opera, Safari) browser treatment where an XSLT 1.0 engine is available
37 stars 17 forks source link

CSV support #19

Open timathom opened 7 years ago

timathom commented 7 years ago

When I try to create an XForms instance from a CSV file (mediatype="text/csv; separator=,; header=present") I get an error in Firefox (Ubuntu 14.04):

Unsupported mediatype 'text/comma-separated-values'

However, in Chrome, the CSV is parsed correctly as text/csv. Maybe an additional check could be added for text/comma-separated-values as a valid mediatype?