[ODFPlugtest] Testing XML Namespace Resiliency

Dennis E. Hamilton dennis.hamilton at acm.org
Sun Aug 21 20:15:39 CEST 2011


FYI,

< http://tools.oasis-open.org/version-control/svn/oic/TestSuite/trunk/odf12/NameSpaceResilience/NameSpaceResilience-Results.htm>


-----Original Message-----
From: plugtest-bounces at opendocsociety.org [mailto:plugtest-bounces at opendocsociety.org] On Behalf Of Dennis E. Hamilton
Sent: Friday, August 19, 2011 23:00
To: 'ODF Plugfest mailinglist'
Subject: Re: [ODFPlugtest] Testing XML Namespace Resiliency

I have expanded the NameSpaceResiliency tests to include 9 test documents and the different META-INF/manifest.xml used with each one.  

The variations are all in the manifest.xml file.  The documents each describe what the variation is.  Not all documents are expected to open successfully.  When a document does not open successfully, how it describes the defect, the remedies offered, and successful repair are all interesting.  All of this is about the resiliency with which ODF consumers deal with deviations in the documents they encounter.

The nine cases are at <http://tools.oasis-open.org/version-control/svn/oic/TestSuite/trunk/odf12/NameSpaceResilience/>.

The file NamSpaceResilience.txt summarizes what they are and what is expected with each one.

I have used at least two different consumers with each of them.  It would be interesting to see what a validator does with the manifest.xml files.  I haven't tried that.

 - Dennis

-----Original Message-----
From: plugtest-bounces at opendocsociety.org [mailto:plugtest-bounces at opendocsociety.org] On Behalf Of Dennis E. Hamilton
Sent: Thursday, July 28, 2011 18:18
To: 'ODF Plugfest mailinglist'
Subject: [ODFPlugtest] Testing XML Namespace Resiliency

A problem that Bart Hanssens noticed when attempting to create digital signature files led me to create some tests for confirming that XML Namespaces are being handled properly and that consumers are not doing anything with them that is brittle and not interoperable.

The new files are in the OASIS ODF Interoperability and Conformance TC SVN Repository at
< http://tools.oasis-open.org/version-control/svn/oic/TestSuite/trunk/odf12/NameSpaceResilience/>.

There are two easy checks there now.  There will be at least two more to exercise related variations.

The documents are produced with Microsoft Office Word 2010 SP1 and then the manifest.xml files are adjusted manually and transplanted back into the document package.

Both documents open just fine with Microsoft Office Word 2010 SP1 and LibreOffice 3.3.2.

 - Dennis

-----Original Message-----
From: workgroup_mailer at lists.oasis-open.org [mailto:workgroup_mailer at lists.oasis-open.org] 
Sent: Wednesday, July 27, 2011 23:08
To: oic at lists.oasis-open.org
Subject: [oic] Version Control Commit by orcmid

Author: orcmid
Date: 2011-07-28 02:08:05 -0400 (Thu, 28 Jul 2011)
New Revision: 178
Web View: http://tools.oasis-open.org/version-control/browse/wsvn/oic/TestSuite/trunk/odf12/?rev=178&sc=1

Added:
   TestSuite/trunk/odf12/NameSpaceResilience/
   TestSuite/trunk/odf12/NameSpaceResilience/NameSpaceResilience-01-Baseline-manifest.xml
   TestSuite/trunk/odf12/NameSpaceResilience/NameSpaceResilience-01-Baseline.odt
   TestSuite/trunk/odf12/NameSpaceResilience/NameSpaceResilience-02-DefaultNS-manifest.xml
   TestSuite/trunk/odf12/NameSpaceResilience/NameSpaceResilience-02-DefaultNS.odt
   TestSuite/trunk/odf12/NameSpaceResilience/NameSpaceResilience.txt
Modified:
   TestSuite/trunk/odf12/ProtectionKeyResilience/ProtectionKeyResilience.txt
Log:
Add TODO to ProtectionKeyResilience.txt
Add new NameSpaceResilience folder with descriptive .txt file 
and two documents, a base document and a document where the 
package META-INF/manifest.xml uses a default namespace for the
element names instead of prefix bindings.  The namespaces usages
are correct, however.

This is the beginning of a set of tests to confirm whether or
not the XML processor provides correct support for XML Name Spaces.


---------------------------------------------------------------------
To unsubscribe from this mail list, you must leave the OASIS TC that
generates this mail.  Follow this link to all your TCs in OASIS at:
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php 

_______________________________________________
Plugtest mailing list
Plugtest at opendocsociety.org
http://lists.opendocsociety.org/mailman/listinfo/plugtest

_______________________________________________
Plugtest mailing list
Plugtest at opendocsociety.org
http://lists.opendocsociety.org/mailman/listinfo/plugtest




More information about the Plugtest mailing list