[Xsltforms-support] A question relating to submissions: omit-xml-declaration
Brought to you by:
alain-couthures
From: <bc...@sh...> - 2016-03-29 11:11:35
|
Dear Support, good morning Latest version of XSLTForms, Firefox re: omit-xml-declaration for submission element. This attribute does not appear to be being honoured on my setup in respect of including the declaration. Can someone confirm if it is or is not behaving correctly on their setup please ? I have an instance element with a src attribute, that loads the xml. The instance document being loaded has the xml declaration as the first line. If I browse to the xml instance directly, it is loaded in the browser showing the declaration. On submitting the instance to a Perl CGI script, which does nothing more than read the posted XML and store it to file and echo it back, the stored xml file and the returned xml has the declaration stripped. Indeed, when inspecting headers (Live HTTP Headers addon), the xml declaration is not present in the xml in the http body on submission. It is being removed by default; is this correct ? I have tried deliberately setting the omit-xml-declaration to false, to no avail. Thank you in advance, for your time and comments. Regards Habs |