To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=63179





------- Additional comments from [EMAIL PROTECTED] Mon Aug 13 11:26:04 +0000 
2007 -------
The reason it does not open correctly is found in the way the current filter
detection works.
The string provided in the text field 'DocType' is being searched in the first
1000 bytes of the input stream.

For this reason the first string to differ a flat XML is the mime type, which is
provided in the DocType field. 

Unfortunately the mimetype attribute is placed beyond the namespaces, therefore
occurs out of the 1000 bytes scope.

An easy work around was to made in 79345 (unfortunately not part of ODF 1.3),
which enhanced the search string to 4000 bytes.

filter\source\xmlfilterdetect\filterdetect.cxx

This is the easiest, but not the best way to solve it.
A generic typedetection checking the namespace and local name of the root
element and additional criteria would be of course more desirable.

It is all a question of time, if you have the possibility to contribute some,
you are most welcome :-)

PS: The suffix was used as fodt, fods, fodp as I already have too many XML files
on my disk and I would like to differentiate them by suffix.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to