Re: [Xsltforms-support] A question relating to submissions: omit-xml-declaration
Brought to you by:
alain-couthures
From: <bc...@sh...> - 2016-03-29 20:38:27
|
Hello there Alain Thank you for replying. "..Are you in a hurry about that??.." No, not at all in a hurry.. I was just checking out the test suite as it is my 'go to' when checking out usage and issues. As it was not working for me and the test suite declares the 'omit' attribute as 'passed', I just thought I would ask about it. I like to have it in my documents, but it is not a major issue I suppose. Thank you again. I am sure many have said it and many times, but your (and any other contributors') efforts on XSLTForms and for making it available are [to me at least] most appreciated and invaluable. Regards Habs On 29 March 2016 at 18:37, Alain Couthures <ala...@ag...> wrote: > Hello Habs, > > The omit-xml-declaration is supported in the XSLT stylesheet of XSLTForms, > effectively memorized in the corresponding Javascript object... but ignored > when performing the serialization... > > It should not be difficult to improve this situation. > > Are you in a hurry about that?? > > Thanks! > > --Alain > > > Le 29/03/2016 12:42, bc...@sh... a écrit : > > 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 > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more.http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140 > > > > _______________________________________________ > Xsltforms-support mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/xsltforms-support > > > |