Issue 118036

Summary: XSLT export filter ignores encoding
Product: xml Reporter: Oliver Brinzing <oliver.brinzing>
Component: external filtersAssignee: AOO issues mailing list <issues>
Status: UNCONFIRMED --- QA Contact:
Severity: Normal    
Priority: P3 CC: issues, knmc, oliver.brinzing
Version: 3.4.0 Beta (OOo)Keywords: needmoreinfo
Target Milestone: ---   
Hardware: PC   
OS: All   
Issue Type: DEFECT Latest Confirmation in: 4.1.2
Developer Difficulty: ---

Description Oliver Brinzing 2011-05-17 12:29:37 UTC
it seems not to be possible to export data via xslt transformation 
with encoding other than UTF-8:

for example, export-xslt:
<xsl:output method="xml" encoding="ISO-8859-1"  standalone="no" />

result.xml:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
Comment 1 Oliver-Rainer Wittmann 2012-06-13 12:30:58 UTC
getting rid of value "enhancement" for field "severity".
For enhancement the field "issue type" shall be used.
Comment 2 Keith N. McKenna 2016-10-25 01:06:56 UTC
Oliver;

Is this still an issue or can it be closed.
Comment 3 Oliver Brinzing 2016-10-25 16:53:39 UTC
this is still an issue

for example, steps to reproduce:

- install xslt filter (xml-export.jar) from 
  https://forum.openoffice.org/en/forum/viewtopic.php?t=3490

https://forum.openoffice.org/en/forum/download/file.php?id=4117&sid=76bccd46dace002c4d660c9708f9a9f1

- change output format in
  %appdata%\OpenOffice 4\user\xslt\xml-export.xml 
  to: <xsl:output method="xml" encoding="ISO-8859-1"  standalone="no" />

- test xslt filter with demo file "baseforfilter.ods"

https://forum.openoffice.org/en/forum/download/file.php?id=4111&sid=76bccd46dace002c4d660c9708f9a9f1