Features: s3-collector

s3-href-001

Tests that a S3 URI can be resolved by the document resolver.

Test is expected to pass.

The pipeline

<p:declare-step xmlns:cx="http://xmlcalabash.com/ns/extensions"
                xmlns:p="http://www.w3.org/ns/xproc"
                xmlns:t="http://xproc.org/ns/testsuite/3.0" name="main" version="3.0">
   <p:output port="result" sequence="true"/>
   <p:identity>
      <p:with-input href="s3://xmlcalabash-mock1/testfolder/file.xml"/>
   </p:identity>
</p:declare-step>

Result

<doc xmlns:t="http://xproc.org/ns/testsuite/3.0">It worked.</doc>

Filesystem environment

DirectoryPermFilenameLast-modifiedSizeEncodingContents (abbreviated)
  .rwxfile.xml21<doc>It worked.</doc>

Schematron checks

<s:schema xmlns:s="http://purl.oclc.org/dsdl/schematron"
          xmlns:t="http://xproc.org/ns/testsuite/3.0" queryBinding="xslt2">
   <s:pattern>
      <s:rule context="/">
         <s:assert test="doc = 'It worked.'">The result is wrong.</s:assert>
      </s:rule>
   </s:pattern>
</s:schema>

Revision history

29 Oct 2025, Norm Tovey-Walsh
Created test.