Patent ID: 7921358

Claim:
A method at least partially implemented by a computer, the method comprising: automatically validating conformance of a package and one or more fixed payloads encapsulated by the package, each fixed payload comprising a set of package parts identifying datastreams for use by an application to render a document specified by the fixed payload, a package specification identifying a first set of conformance criteria for the package, and a document specification specifying a second set of conformance criteria for the one or more fixed payloads, wherein the first set of conformance criteria in the package specification defines structural and markup conformance of the package and the second set of conformance criteria in the document specification defines structural and markup conformance of the one or more fixed payloads, wherein automatically validating conformance further comprises: reading the set of package part datastreams; for each datastream of the set of package part datastreams, responsive to reading the datastream, determining whether the datastream represents a markup; verifying conformance of the markup with a markup schema definition, wherein the markup schema definition is specified by the package specification when the markup is independent of the one or more fixed payload parts and the markup schema definition is specified by the document specification when the markup is part of the one or more fixed payload parts; and identifying markup content from parsed markup; if the markup content specifies a relationship, verifying conformance of at least one dependency between package or document parts, the at least one dependency being indicated by the relationship; and if the markup content does not specify a relationship, determining conformance of the markup content based on markup content type; and presenting an indication to a user of whether the package and the one or more fixed payloads conform with respective ones of the first and second conformance criteria.