Schematron validation

<s:schemaxmlns:s="http://purl.oclc.org/dsdl/schematron"><s:nsprefix="p"uri="http://www.w3.org/ns/xproc"/><s:nsprefix="c"uri="http://www.w3.org/ns/xproc-step"/><s:pattern><s:rulecontext="/"><s:asserttest="c:document-properties">The document root is not document-properties.</s:assert><s:asserttest="/c:document-properties/content-type = 'application/xml'">Content-type is not application/xml.</s:assert><s:asserttest="ends-with(/c:document-properties/base-uri, 'document-properties-doc001.xml')">Base-uri is not correct.</s:assert></s:rule></s:pattern></s:schema>

Revision history

22 Oct 2018,
Norman Walsh

Fixed result document
(c:document-properties, not p:document-properties)