Version

OpenPackagingNonConformanceExceptionReason Enumeration

Constants which define the reason that a OpenPackagingNonConformanceException was thrown.
Syntax
'Declaration
 
Public Enum OpenPackagingNonConformanceExceptionReason 
   Inherits System.Enum
public enum OpenPackagingNonConformanceExceptionReason : System.Enum 
Members
MemberDescription
ContainsDublinCoreRefinementsThe IPackagePart in a IPackage is determined to be the core properties relationship for the package, and that IPackagePart is found to contain refinements to Dublin Core elements other than the 'dcterms:created' and 'dcterms:modified' elements.
ContainsXmlLanguageAttributeThe IPackagePart in a IPackage is determined to be the core properties relationship for the package, and that IPackagePart is found to contain an element which contains the xml:lang attribute.
CorePropertiesRelationshipAlreadyProcessedThe IPackagePart in a IPackage is determined to be the core properties relationship for the package, after one has already been processed.
DuplicatePartNameA loaded IPackagePart has the same name as an existing one.
NoneUndefined; used for variable initialization.
UsesMarkupCompatibilityNamespaceThe IPackagePart in a IPackage is determined to be the core properties relationship for the package, and that IPackagePart is found to contain references to the Markup Compatibility namespace.
XmlContainsDocumentTypeDefinitionA loaded IPackagePart is found to contain a DTD (Document Type Definition) declaration.
XsiTypeAttributeInvalidThe IPackagePart in a IPackage is determined to be the core properties relationship for the package, and that IPackagePart is found to contain an element which contains the xsi:type attribute, with the exception of the 'dcterms:created' and 'dcterms:modified' elements, for which the attribute is required, and is expected to hold the value 'dcterms:W3CDTF'.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also