[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#492876: openoffice.org: XHTML files with an XML prolog are opened/imported as plain text



Package: openoffice.org
Version: 1:2.4.1-6
Severity: normal

Already known upstream as
http://www.openoffice.org/issues/show_bug.cgi?id=89125

Opening / importing the document below will bring it in as plain text.

I think trying to import an (X)HTML document is a common enough use-case to
log it with Debian too.  The way to work round it is for a given file is
easy but not obvious; again a reason to put it in the Debian BTS.

WORK AROUND: delete the first line (the <?xml ... ?> bit).



<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; lang="en" xml:lang="en">
<head>
	<title>Test</title>
</head>
<body>
	<p>Test</p>
</body>
</html>




-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25 (PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages openoffice.org depends on:
ii  openoffice.org-base         1:2.4.1-6    OpenOffice.org office suite - data
ii  openoffice.org-calc         1:2.4.1-6    OpenOffice.org office suite - spre
ii  openoffice.org-core         1:2.4.1-6    OpenOffice.org office suite archit
ii  openoffice.org-draw         1:2.4.1-6    OpenOffice.org office suite - draw
ii  openoffice.org-filter-mobil 1:2.4.1-6    Mobile Devices Filters for OpenOff
ii  openoffice.org-impress      1:2.4.1-6    OpenOffice.org office suite - pres
ii  openoffice.org-java-common  1:2.4.1-6    OpenOffice.org office suite Java s
ii  openoffice.org-math         1:2.4.1-6    OpenOffice.org office suite - equa
ii  openoffice.org-officebean   1:2.4.1-6    OpenOffice.org Office Bean
ii  openoffice.org-writer       1:2.4.1-6    OpenOffice.org office suite - word
ii  openoffice.org-writer2latex 0.5-8        Writer/Calc to LaTeX/XHTML convert
ii  ttf-dejavu                  2.25-1       Metapackage to pull in ttf-dejavu-
ii  ttf-liberation              1.04~beta2-2 Free fonts with the same metrics a

Versions of packages openoffice.org recommends:
ii  openoffice.org-filter-binfilt 1:2.4.1-6  Legacy filters (e.g. StarOffice 5.

Versions of packages openoffice.org suggests:
ii  cups-bsd [cupsys-bs 1.3.8-1              Common UNIX Printing System(tm) - 
ii  cupsys-bsd          1.3.8-1              Common UNIX Printing System (trans
ii  gstreamer0.10-ffmpe 0.10.4-3             FFmpeg plugin for GStreamer
pn  gstreamer0.10-plugi <none>               (no description available)
ii  gstreamer0.10-plugi 0.10.20-1            GStreamer plugins from the "base" 
ii  gstreamer0.10-plugi 0.10.8-4             GStreamer plugins from the "good" 
pn  gstreamer0.10-plugi <none>               (no description available)
pn  hunspell-dictionary <none>               (no description available)
ii  iceape-browser      1.1.11-1             Iceape Navigator (Internet browser
ii  imagemagick         7:6.3.7.9.dfsg1-2+b2 image manipulation programs
ii  java-gcj-compat [ja 1.0.78-2             Java runtime environment using GIJ
ii  libgl1-mesa-glx [li 7.0.3-4              A free implementation of the OpenG
ii  libpaper-utils      1.1.23+nmu1          library for handling paper charact
ii  libsane             1.0.19-15            API library for scanners
ii  libxrender1         1:0.9.4-2            X Rendering Extension client libra
ii  menu                2.1.40               generates programs menu for all me
ii  myspell-en-gb [mysp 1:2.4.0-2            English_british dictionary for mys
pn  openclipart-openoff <none>               (no description available)
ii  openoffice.org-help 1:2.4.1-6            English_british help for OpenOffic
pn  openoffice.org-hyph <none>               (no description available)
ii  openoffice.org-kde  1:2.4.1-6            KDE Integration for OpenOffice.org
ii  openoffice.org-l10n 1:2.4.1-6            English_british language package f
pn  openoffice.org2-the <none>               (no description available)
ii  pstoedit            3.45-4               PostScript and PDF files to editab
pn  unixodbc            <none>               (no description available)

Versions of packages openoffice.org-core depends on:
ii  fontconfig             2.6.0-1           generic font configuration library
ii  libc6                  2.7-13            GNU C Library: Shared libraries
ii  libcairo2              1.6.4-6           The Cairo 2D vector graphics libra
ii  libcurl3               7.18.2-7          Multi-protocol file transfer libra
ii  libdb4.6               4.6.21-10         Berkeley v4.6 Database Libraries [
ii  libexpat1              2.0.1-4           XML parsing C library - runtime li
ii  libfreetype6           2.3.7-1           FreeType 2 font engine, shared lib
ii  libgcc1                1:4.3.1-8         GCC support library
ii  libglib2.0-0           2.16.5-1          The GLib library of C routines
ii  libgstreamer-plugins-b 0.10.20-1         GStreamer libraries from the "base
ii  libgstreamer0.10-0     0.10.20-1         Core GStreamer libraries and eleme
ii  libgtk2.0-0            2.12.11-3         The GTK+ graphical user interface 
ii  libhunspell-1.2-0      1.2.6-1           spell checker and morphological an
ii  libhyphen0             2.4-2             ALTLinux hyphenation library - sha
ii  libice6                2:1.0.4-1         X11 Inter-Client Exchange library
ii  libicu38               3.8.1-3           International Components for Unico
ii  libjpeg62              6b-14             The Independent JPEG Group's JPEG 
ii  libldap-2.4-2          2.4.10-3          OpenLDAP libraries
ii  libneon27              0.28.2-3          An HTTP and WebDAV client library
ii  libnspr4-0d            4.7.1-3           NetScape Portable Runtime Library
ii  libnss3-1d             3.12.0-4          Network Security Service libraries
ii  libpam0g               0.99.7.1-7        Pluggable Authentication Modules l
ii  libpango1.0-0          1.20.5-1          Layout and rendering of internatio
ii  libsm6                 2:1.0.3-2         X11 Session Management library
ii  libssl0.9.8            0.9.8g-12         SSL shared libraries
ii  libstdc++6             4.3.1-8           The GNU Standard C++ Library v3
ii  libx11-6               2:1.1.4-2         X11 client-side library
ii  libxaw7                2:1.0.4-2         X11 Athena Widget library
ii  libxext6               2:1.0.4-1         X11 miscellaneous extension librar
ii  libxinerama1           2:1.0.3-2         X11 Xinerama extension library
ii  libxml2                2.6.32.dfsg-2     GNOME XML library
ii  libxrender1            1:0.9.4-2         X Rendering Extension client libra
ii  libxslt1.1             1.1.24-1          XSLT processing library - runtime 
ii  libxt6                 1:1.0.5-3         X11 toolkit intrinsics library
ii  libxtst6               2:1.0.3-1         X11 Testing -- Resource extension 
ii  openoffice.org-common  1:2.4.1-6         OpenOffice.org office suite archit
ii  ttf-opensymbol         1:2.4.1-6         The OpenSymbol TrueType font
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages openoffice.org-writer depends on:
ii  libc6                  2.7-13            GNU C Library: Shared libraries
ii  libgcc1                1:4.3.1-8         GCC support library
ii  libicu38               3.8.1-3           International Components for Unico
ii  libstdc++6             4.3.1-8           The GNU Standard C++ Library v3
ii  libwpd8c2a             0.8.14-1          Library for handling WordPerfect d
ii  libwps-0.1-1           0.1.2-1           Works text file format import filt
ii  libxml2                2.6.32.dfsg-2     GNOME XML library
ii  openoffice.org-base-co 1:2.4.1-6         OpenOffice.org office suite -- lib
ii  openoffice.org-core    1:2.4.1-6         OpenOffice.org office suite archit
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages openoffice.org-calc depends on:
ii  libc6                        2.7-13      GNU C Library: Shared libraries
ii  libgcc1                      1:4.3.1-8   GCC support library
ii  libstdc++6                   4.3.1-8     The GNU Standard C++ Library v3
ii  libsuitesparse-3.1.0         3.1.0-3     collection of libraries for comput
ii  lp-solve                     5.5.0.10-10 Solve (mixed integer) linear progr
ii  openoffice.org-base-core     1:2.4.1-6   OpenOffice.org office suite -- lib
ii  openoffice.org-core          1:2.4.1-6   OpenOffice.org office suite archit

Versions of packages openoffice.org-base depends on:
ii  java-gcj-compat [java2-runtim 1.0.78-2   Java runtime environment using GIJ
ii  libc6                         2.7-13     GNU C Library: Shared libraries
ii  libgcc1                       1:4.3.1-8  GCC support library
ii  libhsqldb-java                1.8.0.9-3  Java SQL database engine
ii  libstdc++6                    4.3.1-8    The GNU Standard C++ Library v3
ii  openoffice.org-base-core      1:2.4.1-6  OpenOffice.org office suite -- lib
ii  openoffice.org-core           1:2.4.1-6  OpenOffice.org office suite archit
ii  openoffice.org-java-common    1:2.4.1-6  OpenOffice.org office suite Java s

Versions of packages openoffice.org-impress depends on:
ii  libc6                         2.7-13     GNU C Library: Shared libraries
ii  libgcc1                       1:4.3.1-8  GCC support library
ii  libstdc++6                    4.3.1-8    The GNU Standard C++ Library v3
ii  openoffice.org-core           1:2.4.1-6  OpenOffice.org office suite archit
ii  openoffice.org-draw           1:2.4.1-6  OpenOffice.org office suite - draw

Versions of packages openoffice.org-math depends on:
ii  libc6                         2.7-13     GNU C Library: Shared libraries
ii  libgcc1                       1:4.3.1-8  GCC support library
ii  libstdc++6                    4.3.1-8    The GNU Standard C++ Library v3
ii  openoffice.org-core           1:2.4.1-6  OpenOffice.org office suite archit

-- no debconf information



Reply to: