https://bugs.freedesktop.org/show_bug.cgi?id=65005

          Priority: medium
            Bug ID: 65005
          Assignee: [email protected]
           Summary: : XSLT problem with nonUTF encoded xml
          Severity: normal
    Classification: Unclassified
                OS: Windows (All)
          Reporter: [email protected]
          Hardware: Other
        Whiteboard: BSA
            Status: UNCONFIRMED
           Version: 4.1.0.0.beta1
         Component: Writer
           Product: LibreOffice

Created attachment 79803
  --> https://bugs.freedesktop.org/attachment.cgi?id=79803&action=edit
zipped xsl filter and two xml files

Importing XML using own XSLT filter fails, when imported XML is encoded 
windows-1250 (Central European and Eastern European languages).

Steps to reproduce:
Download attachments and extract
Create new filter in Writer (Tools - XML Filter Settings, add own Filter name,
Aplication LibreOffice Writer, add own Name of file type, File extension should
be xml and in tab Transformation for XSLT for import select bug-transform.xsl
from attachment)
Test XSLTS with xml-cp1250.xml and xml-utf.xml

The first one will fail with General input output error.
The second one will success with Writer showing written text "Test".

This xsl filter actually do not extract data from imported data, will always
show the same text "Test". Its just simplified example, but the same apply for
filters that try extract something.
xml-cp1250.xml is encoded in windows-1250
xml-utf.xml is encoded in UTF-8

I can reproduce this problem also in LibreOffice 4.0.3 on Windows 7
This problem is NOT present in LibreOffice 4.0.3 on Ubuntu 12.04
This problem is NOT present in LibreOffice 3.5.7.2 on Ubuntu 12.04 (from Ubuntu
repository)
This problem is NOT present in OpenOffice 3.4.1 on Ubuntu 12.04 or Windows 7.
This problem is NOT present in Unofficial Developer Builds for Apache
OpenOffice 4.0 Snapshot (revision 1484679) on Windows 7.
Operating System: Windows 7
Version: 4.1.0.0.beta1

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to