[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [oic] Confirmation Flavor: #3 Incorrectly-Generated ODF
On Thu, 2008-11-13 at 18:36 -0800, Dennis E. Hamilton wrote: > Here's a case that it is hard to imagine creating a test for. > > #3 INCORRECTLY-GENERATED ODF > > Under certain conditions, processor X produces an ODF 1.1 .odt file > where the content.xml and styles.xml documents are valid according to > the schema, but a constraint stated in the specification is > violated. But this cannot happen. If a constraint is violated then the created file is not an ODF 1.1 file, but just a file the processor X falsely claims to be ODF 1.1. > > Processor Y fails to load the document, reporting an error in the > content.xml file. > > Processor Z loads the document and processes it as correct. When the > document is saved, the resulting content.xml does not violate the > constraint of the specification. > > Because this is a negative condition (the specification is violated), > there is no specified behavior for it in the ODF specification. The > document is, technically, not conforming in any respect. > > On the other hand, one might consider that Processor Z behavior is > superior to Processor Y's. Processor Ys and Zs behaviour here has nothing to do with ODF: they are acting differently on some strange file. Whether you consider one behaviour superior to another depends only on your expectations in the given circumstances. Andreas Guelzow > -- "Liberty consists less in acting according to one's own pleasure, than in not being subject to the will and pleasure of other people. It consists also in our not subjecting the wills of other people to our own." Rousseau Prof. Dr. Andreas J. Guelzow Dept. of Mathematical & Computing Sciences Concordia University College of Alberta
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]