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:   [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to