Issue 44285 - Open of an xhtml file without .form extension.
Summary: Open of an xhtml file without .form extension.
Status: CONFIRMED
Alias: None
Product: xml
Classification: Code
Component: code (show other issues)
Version: OOo 2.0 Beta
Hardware: All Windows XP
: P4 Trivial with 2 votes (vote)
Target Milestone: 4.x
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
: 89125 97582 (view as issue list)
Depends on:
Blocks:
 
Reported: 2005-03-07 04:19 UTC by mat_geek
Modified: 2013-02-07 21:51 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description mat_geek 2005-03-07 04:19:39 UTC
The following xhtml is not imported as xhmtl / xml when it is saved in a file
with a .form extension. Nor other variants.

The import filter should probably sniff the first five bytes for "<?xml ".

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
  <head>
    <title>Report employee absence in three, easy steps.</title>
</head>
  <body>
    <h1>
       Report employee absence in three, easy steps.
    </h1>
  </body>
</html>
Comment 1 michael.ruess 2005-03-07 09:10:03 UTC
reassigned to JSI.
Comment 2 jogi 2005-03-08 08:52:39 UTC
We haven't supported it in the Tools -> XML Filter Settings feature AFAIK.
Comment 3 lo 2005-12-19 14:29:22 UTC
there seems to be a general problem with importing XHTML. No matter what the
extension of the file is. Even when the type is specified in the filter
selection dialog, the docuement won't display as it is supposed to, i.e. the xml
declaration <?xml version=... is shown as content
Comment 4 Mathias_Bauer 2006-01-23 11:04:26 UTC
We will not finish this in 2.0.2 -> retargetting to 3.0
Comment 5 michael.brauer 2006-06-23 07:34:43 UTC
new target
Comment 6 michael.brauer 2007-12-03 09:37:46 UTC
We have no specific filter for XHTML, but only the one for HTML, but it in fact
does not recignize XHTML files.
Comment 7 michael.brauer 2007-12-03 10:26:38 UTC
new target
Comment 8 Martin Hollmichel 2008-08-04 09:05:12 UTC
set target 3.x
Comment 9 michael.brauer 2008-12-12 13:21:35 UTC
*** Issue 89125 has been marked as a duplicate of this issue. ***
Comment 10 xquery 2008-12-12 14:37:22 UTC
what about html tidy and xslt-based xhtml import filter?
Comment 11 Regina Henschel 2008-12-25 21:50:34 UTC
*** Issue 97582 has been marked as a duplicate of this issue. ***
Comment 12 Regina Henschel 2009-07-12 18:09:27 UTC
add me to cc