Requires a parameter to state that the contents of the ZIP should be validated, not the integrity of the ZIP file format.
This can be done with dimensions:
select=file - validate all files inside the data
select=file:abc.xml - validate a specific file inside the data (or every file of this name if archive format allows multiple files with same name)
select=xpath:/foo/*- validate XML elements
Or this syntax:
:file
:file=abc.xml
:xpath=/foo/*
In all cases the service must know how to extract files from payload, e.g. ZIP file, TAR files...
Wrapped selections should be supported as well, e.g.
:glob=*.xml&:xpath=/lidoWrap/lido|/lido
Requires a parameter to state that the contents of the ZIP should be validated, not the integrity of the ZIP file format.
This can be done with dimensions:
select=file- validate all files inside the dataselect=file:abc.xml- validate a specific file inside the data (or every file of this name if archive format allows multiple files with same name)select=xpath:/foo/*- validate XML elementsOr this syntax:
:file:file=abc.xml:xpath=/foo/*In all cases the service must know how to extract files from payload, e.g. ZIP file, TAR files...
Wrapped selections should be supported as well, e.g.
:glob=*.xml&:xpath=/lidoWrap/lido|/lido