From: Ross M. <ros...@gm...> - 2022-06-10 15:42:53
|
Disregard this message, the problem is in my JavaScript code, not the server Ross Sent from my iPhone > On Jun 10, 2022, at 06:50, Ross Merrifield <ros...@gm...> wrote: > > I am trying to serve a static HTML file in my project, but CSS (Bootstrap 5) is broken in the browser. I notice that eXist is inserting an XML declaration at the top of the document when returning to the browser, and removes my <!DOCTYPE html> element. It also won’t let me save the file unless is parses as valid XML. I changed the content-type of the file, and It is properly setting the content-type to text/html in the response to the browser though. > > Is there a way I can make eXist not treat this file as XML or otherwise omit the declaration? I did some searching, but have only found a way to omit declaration on XQuery output, not a static file. > > I am using eXist 6.0.1 > > Thanks, > > Ross |