<!-- NOTES: Does not check for presence of absence of ID attributes.
Does not check for snac namespace attributes. -->
<pattern>
<rulecontext="*">
<asserttest="not(@xml:lang)">The XML:LANG attribute is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@xml:base)">The XML:BASE attribute is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:objectBinWrap)">The OBJECTBINWRAP element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:alternativeSet)">The ALTERNATIVESET element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:multipleIdentities)">The MUTLIPLEIDNETITIES element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:dateSet)">The DATESET element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
</pattern>
<pattern>
<rulecontext="cpf:control">
<asserttest="not(cpf:publicationStatus)">The PUBLICATIONSTATUS element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:localTypeDeclaration)">The LOCALTYPEDECLARATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:localControl)">The LOCALCONTROL element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
</pattern>
<pattern>
<rulecontext="cpf:otherRecordId">
<asserttest="@localType">The LOCALTYPE attribute on the OTHERRECORDID element is required by the SNAC EAC-CPF profile.</assert>
</rule>
</pattern>
<pattern>
<rulecontext="cpf:maintenanceAgency">
<asserttest="not(cpf:agencyCode)">The AGENCYCODE element in the MAINTENANCEAGENCY element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:otherAgencyCode)">The OTHERAGENCYCODE element in the MAINTENANCEAGENCY element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:descriptiveNote)">The DESCRIPTIVENOTE element in the MAINTENANCEAGENCY element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
</pattern>
<pattern>
<rulecontext="cpf:languageDeclaration">
<asserttest="not(cpf:descriptiveNote)">The DESCRIPTIVENOTE element in the LANGUAGEDECLARATION element is not supported by the SNAC EAC-CPF profile.</assert>
<!-- Require script/text() or not. Examples are inconsistent. -->
<!--<assert test="text()">A text value inside the LANGUAGEDECLARATION/SCRIPT element is required by the SNAC EAC-CPF profile. </assert>-->
</rule>
</pattern>
<pattern>
<rulecontext="cpf:conventionDeclaration">
<asserttest="not(cpf:abbreviation)">The ABBREVIATION element in the CONVENTIONDECLARATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:descriptiveNote)">The DESCRIPTIVENOTE element in the CONVENTIONDECLARATION element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
</pattern>
<pattern>
<rulecontext="cpf:maintenanceEvent">
<!-- Require eventDescription? Inconsistent usage in provided examples. -->
<!--<assert test="cpf:eventDescription">The EVENTDESCRIPTION element in the MAINTENANCEEVENT element is required by the SNAC EAC-CPF profile.</assert>-->
</rule>
<rulecontext="cpf:eventDateTime">
<asserttest="not(@standardDateTime)">The STANDARDDATETIME attribute on the EVENTDATETIME element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
</pattern>
<pattern>
<rulecontext="cpf:source">
<asserttest="not(@xlink:title)">The XLINK:TITLE attribute on the SOURCE element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@xlink:actuate)">The XLINK:ACTUATE attribute on the SOURCE element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@xlink:show)">The XLINK:SHOW attribute on the SOURCE element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@xlink:role)">The XLINK:ROLE attribute on the SOURCE element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@xlink:arcrole)">The XLINK:ARCROLE attribute on the SOURCE element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@lastDateTimeVerified)">The LASTDATETIMEVERIFIED attribute on the SOURCE element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:sourceEntry)">The SOURCEENTRY element in the SOURCE element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:descriptiveNote)">The DESCRIPTIVENOTE element in the SOURCE element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
</pattern>
<pattern>
<rulecontext="cpf:cpfDescription">
<asserttest="not(cpf:alternativeSet)">The ALTERNATIVESET element in the CPFDESCRIPTION element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
</pattern>
<pattern>
<rulecontext="cpf:identity">
<asserttest="not(@localType)">The LOCALTYPE attribue on the IDENTITY element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@identityType)">The IDENTITYTYPE attribute on the IDENTITY element is not supported by the SNAC EAC-CPF profile</assert>
<asserttest="not(cpf:entityId)">The ENTITYID element in the IDENTITY elemet is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:nameEntryParallel)">The NAMEENTRYPARALLEL element in the IDENTITY element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:descriptiveNote)">The DESCRIPTIVENOTE element in the IDENTITY element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
</pattern>
<pattern>
<rulecontext="cpf:nameEntry">
<asserttest="not(@scriptCode)">The SCRIPTCODE attribute on the NAMEENTRY element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@transliteration)">The TRANSLITERATION attribute on the NAMEENTRY element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@localType)">The LOCALTYPE attribute on the NAMEENTRY element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:useDates)">The USEDATES element in the NAMEENTRY element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:preferredForm)">The PREFERREDFORM attribute in the NAMEENTRY lement is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
</pattern>
<pattern>
<rulecontext="cpf:part">
<asserttest="not(@localType)">The LOCALTYPE attribute on the PART element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
</pattern>
<pattern>
<rulecontext="cpf:description">
<asserttest="not(cpf:places)">The PLACES element in the DESCRIPTION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:localDescriptions)">The LOCALDESCRIPTIONS element in the DESCRIPTION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:legalStatus)">The LEGALSTATUS element in the DESCRIPTION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:legalStatuses)">The LEGALSTATUSES element in the DESCRIPTION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:function)">The FUNCTION element in the DESCRIPTION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:functions)">The FUNCTIONS element in the DESCRIPTION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:languagesUsed)">The LANGUAGESUSED element in the DESCRIPTION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:occupations)">The OCCUPATIONS element in the DESCRIPTION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:mandate)">The MANDATE element in the DESCRIPTION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:mandates)">The MANDATES element in the DESCRIPTION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:structureOrGenealogy)">The STRUCTUREORGENEALOGY element in the DESCRIPTION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:generalContext)">The GENERALCONTEXT element in the DESCRIPTION element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
</pattern>
<pattern>
<rulecontext="cpf:existDates">
<asserttest="not(@localType)">The LOCALTYPE attribute in the EXISTDATES element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:descriptiveNote)">The DESCRIPTIVENOTE element in the EXISTDATES element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
</pattern>
<pattern>
<rulecontext="cpf:places">
<asserttest="not(@localType)">The LOCALTYPE attribute on the PLACES element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:descriptiveNote)">The DESCRIPTIVENOTE element in the PLACES element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:p)">The P element in the PLACES element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:outline)">The OUTLINE element in the PLACES element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:list)">The LIST element in the PLACES element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:citation)">The CITATION element in the PLACES element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
<rulecontext="cpf:place">
<asserttest="not(cpf:placeRole)">The PLACEROLE element in the PLACE element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:address)">The ADDRESS element in the PLACE element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:dateSingle)">The DATESINGLE element in the PLACE element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:dateRange)">The DATERANGE element in the PLACE element is not xxx</assert>
<asserttest="not(cpf:dateSet)">The DATESET element in the PLACE element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:citation)">The CITATION element in the PLACE element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:descriptiveNote)">The DESCRIPTIVENOTE element in the PLACE element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
</pattern>
<pattern>
<rulecontext="cpf:localDescriptions">
<asserttest="not(@localType)">The LOCALTYPE attribute on the LOCALDESCRIPTIONS element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:descriptiveNote)">The DESCRIPTIVENOTE element in the LOCALDESCRIPTIONS element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:p)">The P element in the LOCALDESCRIPTIONS element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:outline)">The OUTLINE element in the LOCALDESCRIPTIONS element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:list)">The LIST element in the LOCALDESCRIPTIONS element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:citation)">The CITATION element in the LOCALDESCRIPTIONS element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
<rulecontext="cpf:localDescription">
<asserttest="not(cpf:dateSingle)">The DATESINGLE element in the LOCALDESCRIPTION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:dateRange)">The DATERANGE element in the LOCALDESCRIPTION element is not xxx</assert>
<asserttest="not(cpf:dateSet)">The DATESET element in the LOCALDESCRIPTION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:citation)">The CITATION element in the LOCALDESCRIPTION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:descriptiveNote)">The DESCRIPTIVENOTE element in the LOCALDESCRIPTION element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
</pattern>
<pattern>
<rulecontext="cpf:languagesUsed">
<asserttest="not(@localType)">The LOCALTYPE attribute on the LANGUAGESUSED element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:descriptiveNote)">The DESCRIPTIVENOTE element in the LANGUAGESUSED element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
<rulecontext="cpf:languageUsed">
<asserttest="not(@localType)">The LOCALTYPE attribute on the LANGUAGEUSED element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:descriptiveNote)">The DESCRIPTIVENOTE element in the LANGUAGEUSED element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
</pattern>
<pattern>
<rulecontext="cpf:occupations">
<asserttest="not(@localType)">The LOCALTYPE attribute on the OCCUPATIONS element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:descriptiveNote)">The DESCRIPTIVENOTE element in the OCCUPATIONS element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:p)">The P element in the OCCUPATIONS element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:outline)">The OUTLINE element in the OCCUPATIONS element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:list)">The list element in the OCCUPATIONS element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:citation)">The CITATION element in the OCCUPATIONS element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
<rulecontext="cpf:occupation">
<asserttest="not(@localType)">The LOCALTYPE attribute on the OCCUPATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:placeEntry)">The PLACEENTRY element in the OCCUPATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:dateSingle)">The DATESINGLE element in the OCCUPATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:dateRange)">The DATERANGE element in the OCCUPATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:dateSet)">The DATESET element in the OCCUPATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:citation)">The CITATION element in the OCCUPATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:descriptiveNote)">The DESCRIPTIVENOTE element in the OCCUPATION element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
</pattern>
<pattern>
<rulecontext="cpf:legalstatuses">
<asserttest="not(@localType)">The LOCALTYPE attribute on the LEGALSTATUSES element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:descriptiveNote)">The DESCRIPTIVENOTE element in the LEGALSTATUSES element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:p)">The P element in the LEGALSTATUSES element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:outline)">The OUTLINE element in the LEGALSTATUSES element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:list)">The list element in the LEGALSTATUSES element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:citation)">The CITATION element in the LEGALSTATUSES element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
<rulecontext="cpf:legalstatus">
<asserttest="not(@localType)">The LOCALTYPE attribute on the LEGALSTATUS element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:placeEntry)">The PLACEENTRY element in the LEGALSTATUS element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:dateSingle)">The DATESINGLE element in the LEGALSTATUS element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:dateRange)">The DATERANGE element in the LEGALSTATUS element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:dateSet)">The DATESET element in the LEGALSTATUS element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:citation)">The CITATION element in the LEGALSTATUS element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:descriptiveNote)">The DESCRIPTIVENOTE element in the LEGALSTATUS element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
</pattern>
<pattern>
<rulecontext="cpf:functions">
<asserttest="not(@localType)">The LOCALTYPE attribute on the FUNCTIONS element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:descriptiveNote)">The DESCRIPTIVENOTE element in the FUNCTIONS element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:p)">The P element in the FUNCTIONS element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:outline)">The OUTLINE element in the FUNCTIONS element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:list)">The list element in the FUNCTIONS element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:citation)">The CITATION element in the FUNCTIONS element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
<rulecontext="cpf:function">
<asserttest="not(@localType)">The LOCALTYPE attribute on the FUNCTION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:placeEntry)">The PLACEENTRY element in the FUNCTION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:dateSingle)">The DATESINGLE element in the FUNCTION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:dateRange)">The DATERANGE element in the FUNCTION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:dateSet)">The DATESET element in the FUNCTION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:citation)">The CITATION element in the FUNCTION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:descriptiveNote)">The DESCRIPTIVENOTE element in the FUNCTION element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
</pattern>
<pattern>
<rulecontext="cpf:mandates">
<asserttest="not(@localType)">The LOCALTYPE attribute on the MANDATES element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:descriptiveNote)">The DESCRIPTIVENOTE element in the MANDATES element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:p)">The P element in the MANDATES element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:outline)">The OUTLINE element in the MANDATES element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:list)">The list element in the MANDATES element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:citation)">The CITATION element in the MANDATES element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
<rulecontext="cpf:mandate">
<asserttest="not(@localType)">The LOCALTYPE attribute on the MANDATE element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:placeEntry)">The PLACEENTRY element in the MANDATE element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:dateSingle)">The DATESINGLE element in the MANDATE element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:dateRange)">The DATERANGE element in the MANDATE element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:dateSet)">The DATESET element in the MANDATE element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:citation)">The CITATION element in the MANDATE element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:descriptiveNote)">The DESCRIPTIVENOTE element in the MANDATE element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
</pattern>
<pattern>
<rulecontext="cpf:structureOrGenealogy">
<asserttest="not(@localType)">The LOCALTYPE attribute on the STRUCTUREORGENEALOGY element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:outline)">The OUTLINE element in the STRUCTUREORGENEALOGY element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
</pattern>
<pattern>
<rulecontext="cpf:generalContext">
<asserttest="not(@localType)">The LOCALTYPE attribute on the GENERALCONTEXT element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:outline)">The OUTLINE element in the GENERALCONTEXT element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
</pattern>
<pattern>
<rulecontext="cpf:biogHist">
<asserttest="not(@localType)">The LOCALTYPE attribute on the BIOGHIST element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:abstract)">The ABSTRACT element in the BIOGHIST element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:chronList)">The CHRONLIST element in the BIOGHIST element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:outline)">The OUTLINE element in the BIOGHIST element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
</pattern>
<pattern>
<rulecontext="cpf:relations">
<asserttest="not(cpf:functionRelation)">The FUNCTIONRELATION element in the RELATIONS element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
</pattern>
<pattern>
<rulecontext="cpf:cpfRelation">
<asserttest="not(@cpfRelationType)">The CPFRELATIONTYPE attribute on the CPFRELATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@lastDateTimeVerified)">The LASTDATETIMEVERIFIED attribute on the CPFRELATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="@xlink:arcrole">The XLINK:ARCROLE attribute on the CPFRELATION element is required by the SNAC EAC-CPF profile.</assert>
<asserttest="@xlink:role">The XLINK:ROLE attribute on the CPFRELATION element is required by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@xlink:title)">The XLINK:TITLE attribute on the CPFRELATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@xlink:actuate)">The XLINK:ACTUATE attribute on the CPFRELATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@xlink:show)">The XLINK:SHOW attribute on the CPFRELATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:dateSingle)">The DATESINGLE element on the CPFRELATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:dateRange)">The DATERANGE element on the CPFRELATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:dateSet)">The DATESET element on the CPFRELATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:placeEntry)">The PLACEENTRY element on the CPFRELATION element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
<rulecontext="cpf:resourceRelation">
<asserttest="not(@resourceRelationType)">The RESOURCERELATIONTYPE attribute on the RESOURCERELATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@lastDateTimeVerified)">The LASTDATETIMEVERIFIED attribute on the RESOURCERELATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="@xlink:arcrole">The XLINK:ARCROLE attribute on the RESOURCERELATION element is required by the SNAC EAC-CPF profile.</assert>
<asserttest="@xlink:role">The XLINK:ROLE attribute on the RESOURCERELATION element is required by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@xlink:title)">The XLINK:TITLE attribute on the RESOURCERELATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@xlink:actuate)">The XLINK:ACTUATE attribute on the RESOURCERELATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@xlink:show)">The XLINK:SHOW attribute on the RESOURCERELATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:dateSingle)">The DATESINGLE element on the RESOURCERELATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:dateRange)">The DATERANGE element on the RESOURCERELATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:dateSet)">The DATESET element on the RESOURCERELATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:placeEntry)">The PLACEENTRY element on the RESOURCERELATION element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
<rulecontext="cpf:functionRelation">
<asserttest="not(@functionRelationType)">The FUNCTIONRELATIONTYPE attribute on the FUNCTIONRELATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@lastDateTimeVerified)">The LASTDATETIMEVERIFIED attribute on the FUNCTIONRELATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="@xlink:arcrole">The XLINK:ARCROLE attribute on the FUNCTIONRELATION element is required by the SNAC EAC-CPF profile.</assert>
<asserttest="@xlink:role">The XLINK:ROLE attribute on the FUNCTIONRELATION element is required by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@xlink:title)">The XLINK:TITLE attribute on the FUNCTIONRELATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@xlink:actuate)">The XLINK:ACTUATE attribute on the FUNCTIONRELATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@xlink:show)">The XLINK:SHOW attribute on the FUNCTIONRELATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:dateSingle)">The DATESINGLE element on the FUNCTIONRELATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:dateRange)">The DATERANGE element on the FUNCTIONRELATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:dateSet)">The DATESET element on the FUNCTIONRELATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(cpf:placeEntry)">The PLACEENTRY element on the FUNCTIONRELATION element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
<rulecontext="cpf:relationEntry">
<asserttest="not(@localType)">The LOCALTYPE attribute on the RELATIONENTRY element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@scriptCode)">The SCRIPTCODE attribute on the RELATIONENTRY element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@transliteration)">The TRANSLITERATION attribute on the RELATIONENTRY element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
<rulecontext="cpf:objectXMLWrap">
</rule>
</pattern>
<!-- m.dates -->
<pattern>
<rulecontext="cpf:dateSingle">
<asserttest="not(@localType)">The LOCALTYPE attribute on the DATESINGLE element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@notBefore)">The NOTBEFORE attribute on the DATESINGLE element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@notAfter)">The NOTAFTER attribute on the DATESINGLE element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="@standardDate">The STANDARDDATE attribute on the DATESINGLE element is required by the SNAC EAC-CPF profile.</assert>
</rule>
<rulecontext="cpf:dateRange">
<asserttest="not(@localType)">The LOCALTYPE attribute on the DATERANGE element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
<rulecontext="cpf:fromDate">
<asserttest="not(@notBefore)">The NOTBEFORE attribute on the FROMDATE element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@notAfter)">The NOTAFTER attribute on the FROMDATE element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="@standardDate">The STANDARDDATE attribute on the FROMDATE element is required by the SNAC EAC-CPF profile.</assert>
</rule>
<rulecontext="cpf:toDate">
<asserttest="not(@notBefore)">The NOTBEFORE attribute on the TODATE element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@notAfter)">The NOTAFTER attribute on the TODATE element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="@standardDate">The STANDARDDATE attribute on the TODATE element is required by the SNAC EAC-CPF profile.</assert>
</rule>
<rulecontext="cpf:dateSet">
<asserttest="not(@localType)">The LOCALTYPE attribute on the DATESET element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
</pattern>
<!-- m.simpleDescription -->
<pattern>
<rulecontext="cpf:term">
<asserttest="not(@scriptCode)">The SCRIPTCODE attribute on the TERM element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@transliteration)">The TRANSLITERATION attribute on the TERM element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@lastDateTimeVerified)">The LASTDATETIMEVERIFIED attribute on the TERM element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@vocabularySource)">The VOCABULARYSOURCE attribute on the TERM element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
<rulecontext="cpf:citation">
<asserttest="not(@xlink:type)">The XLINK:TYPE attribute on the CITATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@xlink:href)">The XLINK:HREF attribute on the CITATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@xlink:title)">The XLINK:TITLE attribute on the CITATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@xlink:actuate)">The XLINK:ACTUATE attribute on the CITATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@xlink:show)">The XLINK:SHOW attribute on the CITATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@xlink:role)">The XLINK:ROLE attribute on the CITATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@xlink:arcrole)">The XLINK:ARCROLE attribute on the CITATION element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@lastDateTimeVerified)">The LASTDATETIMEVERIFIED attribute on the CITATION element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
<rulecontext="cpf:descriptiveNote">
</rule>
</pattern>
<!-- m.discursiveSet -->
<pattern>
<rulecontext="cpf:p">
</rule>
<rulecontext="cpf:outline">
<asserttest="not(@localType)">The LOCALTYPE attribute on the OUTLINE element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
<rulecontext="cpf:level">
<asserttest="not(@localType)">The LOCALTYPE attribute on the LEVEL element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
<rulecontext="cpf:item">
<asserttest="not(@localType)">The LOCALTYPE attribute on the ITEM element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
<rulecontext="cpf:list">
<asserttest="not(@localType)">The LOCALTYPE attribute on the LIST element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
</pattern>
<!-- m.mixedContent -->
<pattern>
<rulecontext="cpf:span">
<asserttest="@localType or @style">Either the LOCALTYPE attribute or the STYLE attribute is required on the SPAN element by the SNAC EAC-CPF profile.</assert>
</rule>
</pattern>
<pattern>
<rulecontext="cpf:chronList">
<asserttest="not(@localType)">The LOCALTYPE attribute on the CHRONLIST element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
<rulecontext="cpf:event">
<asserttest="not(@localType)">The LOCALTYPE attribute on the EVENT element is not supported by the SNAC EAC-CPF profile.</assert>
</rule>
</pattern>
<pattern>
<rulecontext="cpf:placeEntry">
<asserttest="not(@scriptCode)">The SCRIPTCODE attribute on the PLACEENTRY element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@transliteration)">The TRANSLITERATION attribute on the PLACEENTRY element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@localType)">The LOCALTYPE attribute on the PLACEENTRY element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@vocabularySource)">The VOCABULARYSOURCE attribute on the PLACEENTRY element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@accuracy)">The ACCURACY attribute on the PLACEENTRY element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@latitude)">The LATTITUDE attribute on the PLACEENTRY element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@longitude)">The LONGITUDE attribute on the PLACEENTRY element is not supported by the SNAC EAC-CPF profile.</assert>
<asserttest="not(@altitude)">The ALTITUDE attribute on the PLACEENTRY element is not supported by the SNAC EAC-CPF profile.</assert>