You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Alessandro Adamou (JIRA)" <ji...@apache.org> on 2012/07/10 19:04:34 UTC

[jira] [Closed] (STANBOL-680) Ontology input sources are not resetting the data streams to parse multiple formats

     [ https://issues.apache.org/jira/browse/STANBOL-680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alessandro Adamou closed STANBOL-680.
-------------------------------------

    Resolution: Fixed
    
> Ontology input sources are not resetting the data streams to parse multiple formats
> -----------------------------------------------------------------------------------
>
>                 Key: STANBOL-680
>                 URL: https://issues.apache.org/jira/browse/STANBOL-680
>             Project: Stanbol
>          Issue Type: Bug
>          Components: Ontology Manager
>    Affects Versions: 0.9.0-incubating
>            Reporter: Alessandro Adamou
>            Assignee: Alessandro Adamou
>
> Most Ontology Manager methods loop on supported formats when trying to parse a data stream, in order to increase the chances of parsing an ontology successfully even when its format is not known by the client.
> However, none of these loops resets the data stream after a parser failure, therefore any attempts after the first one (which is usually RDF/XML) will fail. And not all data streams can be reset (e.g. unbuffered file input streams).
> This makes it impossible to parse an entire ontology network if the imported ontologies are in a format other than RDF/XML (e.g. Turtle or RDF/JSON). Also, this causes the "Auto" option of the Stanbol HTML client not to work if the submitted file is not RDF/XML.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira