diff --git a/pom.xml b/pom.xml index 124ecf9..f5d06bb 100644 --- a/pom.xml +++ b/pom.xml @@ -38,7 +38,7 @@ Miel Vander Sande miel.vandersande@ugent.be http://semweb.mmlab.be - iMinds + imec http://imec.be Europe/Brussels @@ -60,12 +60,12 @@ org.apache.jena jena-core - 3.0.1 + 3.1.0 org.apache.jena jena-arq - 3.0.1 + 3.1.0 org.apache.httpcomponents @@ -101,7 +101,7 @@ org.apache.commons commons-lang3 - 3.3.2 + 3.4 jar @@ -113,7 +113,7 @@ org.apache.jena jena-tdb - 3.0.0 + 3.1.0 org.rdfhdt diff --git a/src/main/java/org/linkeddatafragments/servlet/LinkedDataFragmentServlet.java b/src/main/java/org/linkeddatafragments/servlet/LinkedDataFragmentServlet.java index f7ab956..6ca7743 100644 --- a/src/main/java/org/linkeddatafragments/servlet/LinkedDataFragmentServlet.java +++ b/src/main/java/org/linkeddatafragments/servlet/LinkedDataFragmentServlet.java @@ -168,7 +168,7 @@ public void doGet(HttpServletRequest request, HttpServletResponse response) thro response.setHeader(HttpHeaders.SERVER, "Linked Data Fragments Server"); response.setContentType(bestMatch); response.setCharacterEncoding(StandardCharsets.UTF_8.name()); - + // create a writer depending on the best matching mimeType ILinkedDataFragmentWriter writer = LinkedDataFragmentWriterFactory.create(config.getPrefixes(), dataSources, bestMatch); @@ -182,8 +182,9 @@ public void doGet(HttpServletRequest request, HttpServletResponse response) thro fragment = dataSource.getRequestProcessor() .createRequestedFragment( ldfRequest ); - + System.out.println("here"); writer.writeFragment(response.getOutputStream(), dataSource, fragment, ldfRequest); + System.out.println("not here"); } catch (DataSourceNotFoundException ex) { try {