[
https://issues.apache.org/jira/browse/FOR-1005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12649609#action_12649609
]
David Crossley commented on FOR-1005:
-------------------------------------
Ross refers to our powerful "SourceTypeAction (content aware pipelines)"
http://forrest.apache.org/docs/dev/cap.html
This detects properties of the input sources and responds accordingly.
Two examples are org.apache.forrest.plugin.input.foaf which acts on
"document-element namespace" and
org.apache.forrest.plugin.input.simplifiedDocbook which acts on
"document-declaration public-id". There are other methods, and more could be
added.
If any Forrest developer would like to get involved with a task, then this
would be a great contribution. A good way to get familiar with the internals of
Forrest.
> Use sourcetypeaction for input plugins
> --------------------------------------
>
> Key: FOR-1005
> URL: https://issues.apache.org/jira/browse/FOR-1005
> Project: Forrest
> Issue Type: Improvement
> Components: Plugin: input.doap, Plugin: input.foaf, Plugin:
> input.skos
> Affects Versions: 0.9-dev
> Reporter: Ross Gardler
>
> Wherever possible input plugins should use the sourcetypeaction to figure out
> whether to process a file or not.
> Too many plugins use a fixed url space for this, it is not maintainable.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.