input:
add to config/custom-processors.xml:
example input:
oxf:/style.css
1) FILE (style.css) exists
- result:
success
- data: contents of the file
2) FILE (style.css) does not exist
- result:
fail
- data:
example input that handles an XML file and generates a SAX output:
oxf:/footer.xhtml
xml
Note that a validation error might not be caught. If the file exists and SAX
initialization can be done, the result success will be passed.
Maybe in the future validating beforehand might also be an option. Note that
this might be slower for large files, since the file first has to be validated
completely before the start of the file can be send (which in effect means it
has to be parsed twice).