Warning messages when converting rtf to html

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Post Reply
benanavd
Posts: 1
Joined: Mon Jun 07, 2010 6:51 pm

Warning messages when converting rtf to html

Post by benanavd »

I am converting rtf to html using java. When doing so, the file converts, I get the following warning:

CE> Warning: at xsl:stylesheet on line 58 of file:///C:/Program%20Files/OpenOffice.org%203/Basis/share/xslt/export/xhtml/opendoc2xhtml.xsl:
CE> Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor

Why am I getting that warning?
Funny thing is that I only get it the first time I run the program. If soffice is running that I don't seem to get it.
Is there a way to disable the message or fix it so it does not occur?

dan
OpenOffice 3.2.1
Windows XP
rudolfo
Volunteer
Posts: 1488
Joined: Wed Mar 19, 2008 11:34 am
Location: Germany

Re: Warning messages when converting rtf to html

Post by rudolfo »

I searched the macro and UNO API forum for xslt and processor and found the following thread What is the XSLT engine used for XSLT filters?. This should give you a good starting point.
OpenOffice 3.1.1 (2.4.3 until October 2009) and LibreOffice 3.3.2 on Windows 2000, AOO 3.4.1 on Windows 7
There are several macro languages in OOo, but none of them is called Visual Basic or VB(A)! Please call it OOo Basic, Star Basic or simply Basic.
Post Reply