From: Ross M. <ros...@gm...> - 2022-06-10 13:50:52
|
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 |