Version

OpenPackagingNonConformanceExceptionReason Enumeration

Constants which define the reason that a OpenPackagingNonConformanceException was thrown.
Syntax
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.
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: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also