incubator-any23-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ANY23-83) Remove hardcoded formats throughout Any23 to make it useful as a library
Date Tue, 04 Sep 2012 07:16:08 GMT

    [ https://issues.apache.org/jira/browse/ANY23-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13447527#comment-13447527
] 

Hudson commented on ANY23-83:
-----------------------------

Integrated in Any23-trunk #311 (See [https://builds.apache.org/job/Any23-trunk/311/])
    ANY23-83 : Remove some more hardcoded formats and mime-types (Revision 1380399)

     Result = FAILURE
ansell : 
Files : 
* /incubator/any23/trunk/core/src/main/java/org/apache/any23/extractor/html/TurtleHTMLExtractor.java
* /incubator/any23/trunk/core/src/main/java/org/apache/any23/extractor/rdf/BaseRDFExtractor.java
* /incubator/any23/trunk/core/src/main/java/org/apache/any23/extractor/rdf/NTriplesExtractor.java
* /incubator/any23/trunk/core/src/main/java/org/apache/any23/extractor/rdf/RDFParserFactory.java
* /incubator/any23/trunk/core/src/main/java/org/apache/any23/extractor/rdf/RDFXMLExtractor.java
* /incubator/any23/trunk/core/src/main/java/org/apache/any23/extractor/rdf/TriXExtractor.java
* /incubator/any23/trunk/core/src/main/java/org/apache/any23/extractor/rdf/TurtleExtractor.java
* /incubator/any23/trunk/core/src/main/java/org/apache/any23/vocab/RDFSchemaUtils.java
* /incubator/any23/trunk/core/src/main/java/org/apache/any23/writer/NTriplesWriterFactory.java
* /incubator/any23/trunk/core/src/main/java/org/apache/any23/writer/RDFXMLWriterFactory.java
* /incubator/any23/trunk/core/src/main/java/org/apache/any23/writer/TriXWriterFactory.java
* /incubator/any23/trunk/core/src/main/java/org/apache/any23/writer/TurtleWriterFactory.java
* /incubator/any23/trunk/core/src/test/java/org/apache/any23/extractor/html/AbstractExtractorTestCase.java
* /incubator/any23/trunk/core/src/test/java/org/apache/any23/extractor/microdata/MicrodataExtractorTest.java
* /incubator/any23/trunk/service/src/main/java/org/apache/any23/servlet/Servlet.java
* /incubator/any23/trunk/service/src/test/java/org/apache/any23/servlet/ServletTest.java

                
> Remove hardcoded formats throughout Any23 to make it useful as a library
> ------------------------------------------------------------------------
>
>                 Key: ANY23-83
>                 URL: https://issues.apache.org/jira/browse/ANY23-83
>             Project: Apache Any23
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 0.7.0
>            Reporter: Peter Ansell
>            Assignee: Michele Mostarda
>             Fix For: 0.8.0
>
>         Attachments: any23-rdfwritertriplehandler.diff, any23-rio-naive-mime-detector.diff
>
>
> Many classes inside of Any23 seem to hardcode restrictions on the supported formats,
making it difficult to utilise Any23 as an extensible library. 
> One example of this are RDFSchemaUtils that artificially restricts itself to three formats
using an enum mapping, where it could easily accept any RDFHandler, even if it were not an
RDFWriter. 
> Another example is RDFUtils where the list of RDFParser's is hardcoded in, and enforced
using an enum.
> What was the reasoning for creating artificial format classes and manually mapping them
to writers/parsers instead of using either allowing any RDFHandler in the first case, or allowing
any accessible RDFParser in the second case, using Rio.getParser() to avoid hardcoding anything.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message