[dev] Writer XSLT import does not work as expected.
Hello all. I am working on an import/export filter for TestLink (http://testlink.sourceforge.net/docs/testLink.php) XML exports to enable TestLink users to edit their TestSuites and TestCases in OOO as this would speed up things while creating / supporting test cases for testlink a lot. Working on the import filter, I still have no success until now. As I cannot find appropriate writer import howtos (or documented examples) browsing the internet, this mailing list is my last hope. My first (very easy) filter example should present OOO header lines containing the testsuites.xml testsuite and testcase names. However, OOO presents the complete testsuites.xml content (XML). So I assume that OOO is not happy with my filter. Is there any logfile / debug possibility where I can find more information ? Here is what I did. - Using OOO : 3.1.1 - Using Netbeans 6.7 for XSL development - created a OOO template and a OOO example document. - used the content.xml of that dokument to define the XML OOO header in the xsl:template (root) (Reviewing the OOO docbook import filter as an example filter) - Checked XML and XML validity of the stylesheet - Transformed testsuite.xml using the Netbeans 'com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl' - Checked the resulting testsuite_content.xml, which looked good so far. - Created an OOO filter due to OOO help - File-Open filetype=TESTLINK (the Import Filter), select testsuites.xml Result is the the raw XML content of that file :-( Just being curious, I copied the transformation result of the Netbeans Transformer into the content.xml of the exmple odt file. What a suprise, OOO shows the expected result after loading that file. My Filter and example is attached. P.S. If I should have success, I would be willing to document the necessary steps somewhere, so that other people can use the Import filter feature, which from my point of view enhances the OOO possibilities a lot. Mit freundlichen Grüßen / with best regards Werner Schulte -- DSA - Daten- und Systemtechnik GmbH Pascalstraße 28 D-52076 Aachen Germany Phone:+49 (0)2408 9492 - 694 Fax: +49 (0)2408 9492 - 92 E-Mail: werner.schu...@dsa-ac.de Internet: http://www.dsa.de Sitz und Registergericht/Domicile and Court of Registry: Aachen HRB-Nr./Commercial Register No.: 11960 Geschäftsführung/Board of Management: Dr. Eckhard Schulz, Dr. Volker Gehring - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] OO3.1 Build errors--- fatal error LNK1120: 10 unresolved externals
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 which version of Cygwin did you use? I had similiar problems when using Cygwin 1.7.x because there's a problem with the deliver.pl script. See http://www.openoffice.org/servlets/ReadMsg?list=devmsgNo=26354 I used Cygwin 1.7.1 and encountered the same problem even after i fixed the deliver.pl as suggested by above URL any solution for this? Thanks - -- Willy Sudiarto Raharjo Registered Linux User : 336579 Web : http://www.informatix.or.id/willy Blog : http://willysr.blogspot.com http://slackblogs.blogspot.com -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.12 (GNU/Linux) iEYEAREKAAYFAkt2uToACgkQiHuDdNczM4GBjACgm5b0ngdAtZmOJKYkrRaO3xBV lWsAn3+zs4KshpCVeLQP9oRlVBXZdZZq =vMxw -END PGP SIGNATURE- - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Writer XSLT import does not work as expected.
Hi Werner, is not happy with my filter. Is there any logfile / debug possibility where I can find more information ? The logfile is being activated by setting a Java System Property in the office (Tools-Option-Java), for example: -DXSLTransformer.statsfile=E:\Temp\xslt_debug.txt btw: have you seen: http://blogs.sun.com/GullFOSS/entry/new_in_3_0_xslt regards Oliver -- GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45 signature.asc Description: OpenPGP digital signature
Re: [dev] Writer XSLT import does not work as expected.
Hi Oliver. Oliver Brinzing schrieb: Hi Werner, is not happy with my filter. Is there any logfile / debug possibility where I can find more information ? The logfile is being activated by setting a Java System Property in the office (Tools-Option-Java), for example: -DXSLTransformer.statsfile=E:\Temp\xslt_debug.txt Thanks for the quick answer. I tried it, but don't get a logfile. Java is enabled (JRE1.5) and the Parameter is set due to your hint. The target directory is writeable as well (c:\log on my PC). btw: have you seen: http://blogs.sun.com/GullFOSS/entry/new_in_3_0_xslt Thanks for the hint. That sounds interesting! Will keep an I on that. Here is the current status of my tries. I am able to create an externally tranformed content.xml. Unfortunately I have to patch this file afterwards, as the testlink export contains the important information in CDATA with lots of embedded HTML as well as OOO unknown quoted string (like nbsp;, auml; ...). Of course I could create an external tool now to generate my odt file and to generate a testlink file back from odt, but that is not what you really want at the end. Is there a chance to hook a piece of java code into the XML Filter process, which would be able to patch the transformed files to the users needs ? Mit freundlichen Grüßen / with best regards Werner Schulte -- DSA - Daten- und Systemtechnik GmbH Pascalstraße 28 D-52076 Aachen Germany Phone:+49 (0)2408 9492 - 694 Fax: +49 (0)2408 9492 - 92 E-Mail: werner.schu...@dsa-ac.de Internet: http://www.dsa.de Sitz und Registergericht/Domicile and Court of Registry: Aachen HRB-Nr./Commercial Register No.: 11960 Geschäftsführung/Board of Management: Dr. Eckhard Schulz, Dr. Volker Gehring
Re: [dev] OT: web site and issue tracker
On Fri, 2010-02-12 at 23:57 +0100, Cor Nouws wrote: Hi Terrence, Terrence Enger wrote (12-02-10 23:45) Where should I go for help with the web site for openoffice.org? (*) I already have two userids, and neither one lets me log in. (*) I apologize to rainerbielefeld for wasting his time with a duplicate issue. If I can track down the explanation which led me to do that, and if I can find the right place to say so, I would like to suggest a change. d...@website.openoffice.org is the list to mail to. Succes, Cor Thank you. I have taken my questions and suggestions to that list. Cheers, Terry. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Should assertions abort?
On Fri, 2010-02-12 at 17:18 +0100, Christian Lippka wrote: If this is still not understandable, I will draw you a flow chart on monday at your office :-) If you send me pictures of the whiteboard or scans of the paper, I will try to key them in. Or course, before there is any benefit, we shall need ... (*) review and correction by somebody who knows what is right (*) a place in the devloper documentation. This place is, of course, the place where a newcomer to assertions and tracing would naturally go first if he wanted a flowchart. If there is the possibility of a benefit here, I will do what I can to help. Cheers, Terry. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Writer XSLT import does not work as expected.
Hi Werner, Thanks for the quick answer. I tried it, but don't get a logfile. just tried it - testing with the docbook filter - i get a log file: The transformation's parameters as 'name = value' pairs: StylesheetURL = file:///C:/Program%20Files/OpenOffice.org/Basis/share/xslt/docbook/sofftodocbookheadings.xsl TargetURL = DoctypeSystem = TargetBaseURL = Starting transformation... TransformerFactory is 'net.sf.saxon.TransformerFactoryImpl' Warning: at xsl:stylesheet on line 32 of file:///C:/Program%20Files/OpenOffice.org/Basis/share/xslt/docbook/sofftodocbookheadings.xsl: Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor finished transformation in 147ms are you sure, your \user\config\javasettings_Windows_x86.xml looks like: param-DXSLTransformer.statsfile=E:\Temp\xslt_debug.txt/param see the leading hyphen -DXSL... Is there a chance to hook a piece of java code into the XML Filter process, which would be able to patch the transformed files to the users needs have you seen http://wiki.services.openoffice.org/wiki/Xml ? regards Oliver -- GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45 signature.asc Description: OpenPGP digital signature