[
https://issues.apache.org/jira/browse/FOR-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12510794
]
SinDoc commented on FOR-1018:
-----------------------------
I forgot to make a patch from $FORREST_HOME, so just in case, here [1] is
another one.
[1] http://sina.khakbaz.com/2007/patches/sourcetypeaction-rdf.patch
> Making sourcetypeaction work for RDF files
> ------------------------------------------
>
> Key: FOR-1018
> URL: https://issues.apache.org/jira/browse/FOR-1018
> Project: Forrest
> Issue Type: Sub-task
> Components: Plugin: input.doap, Plugin: input.foaf, Plugin:
> input.skos
> Affects Versions: 0.9-dev
> Reporter: SinDoc
> Priority: Minor
> Fix For: 0.9-dev
>
> Attachments: sourcetypeaction-rdf.patch
>
>
> In an effort to use the sourcetypeaction mechanism in the sitemap to
> intelligently prcess input files, I noticed that RDF/XML formats require
> extra processing for their action type to be determined. Obviously because
> neither doctype nor processing instruction events are likely to appear in
> RDF/XML formats and the only way to choose an action should be base on the
> namespace. The namespace of the root element doesn't help either in this
> case, as an RDF file might or not start with the rdf:RDF root element,
> therefore checking only the root element doesn't necessarily imply the actual
> format of the file.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.