Test Plan: OpenDocument Format Changes [after OOo 2.0 Beta]
Test Purpose
Verify the changes of the OpenDocument file format which have been changed after OOo 2.0 Beta.
Specification of the feature:
Known issues:
Preconditions of the test:
Test documents
- Testdocument with borders (http://qa.openoffice.org/source/browse/qa/qatesttool/xml/level1/input/writer/fiscus.sxw)
Testcases
Test 1
Attributes that were in the namespace2 http://www.w3.org/1999/XSL/Format are now in the namespace
urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0.
- Load the test document under 1.
- Save it in the OpenDocument file format.
- Unzip/Unjar content.xml from the saved OpenDocument-file.
- Search in the content.xml for urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0 which should be the value for the xmlns:fo=-namespace.
- If the value is not 100% the same it would be a file format bug (P2)!
Test 2
Attributes and elements that were in the namespace http://www.w3.org/2000/svg are now in the namespace
urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0.
- Use the content.xml from the saved OpenDocument-file in Test 1.
- Search in the content.xml for urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0 which should be the value for the xmlns:svg=-namespace.
- If the value is not 100% the same it would be a file format bug (P2)!
Test 3
Attributes that were in the namespace http://www.w3.org/2001/SMIL20/ are now in the namespace
urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0.
- Create a new empty presentation document (File / New / Presentation)
- Verify that the "Drawing"-toolbar is visible (View / Toolbars / Drawing)
- Press with the left mouse button on the arrow of the "Symbol Shapes"-button on "Drawing"-toolbar (9th button on the toolbar)
- 18 symbol shapes are now visible
- Click on one of the symbol shapes
- Click with the left mouse button anywhere in the presentation document and hold down the button
- Move the mouse to anywhere else in the document
- Now let the left mouse button off
- Save the document in the default file format which should be the OpenDocument file format (File / Save)
- Unzip/Unjar content.xml from the saved OpenDocument-file.
- Search in the content.xml for urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0 which should be the value for the xmlns:smil=-namespace.
- If the value is not 100% the same it would be a file format bug (P2)!
Test 4
The attribute xforms:submission has been renamed to form:xforms-submission.
- Use the saved test.odt from the automated XForms submission test in the users' working directory and extract the content.xml.
- Unzip/Unjar content.xml from the saved OpenDocument-file.
- Search in the content.xml for form:xforms-submission which should be found once.
- If the attribute does not exist it would be a file format bug (P2)!
Problematic areas
Acronyms:
- CTL = Complex Text Layout
- Namespace = http://en.wikipedia.org/wiki/XML_namespace
References:
Document History:
Document Version |
Comments |
Date |
Author |
1.0 |
Final |
8. March 2005 |
Joerg Sievers |
- |
Review |
planned |
Marc Neumann |