Github user lewismc commented on a diff in the pull request:
https://github.com/apache/any23/pull/104#discussion_r208057284
--- Diff: librdfa-rdf4j/src/main/c/main.java ---
@@ -0,0 +1,82 @@
+
+import java.io.BufferedReader;
+import java.io.ByteArrayInputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.nio.charset.StandardCharsets;
+import org.apache.any23.rdf.librdfa.Callback;
+import org.apache.any23.rdf.librdfa.RdfaParser;
+
+public class main {
+
+ public static void main(String argv[]) {
+ System.loadLibrary("rdfaJava"); // Attempts to load example.dll (on
Windows) or libexample.so (on Linux)
+
+ System.out.println("Adding and calling a normal C++ callback");
+ System.out.println("----------------------------------------");
+ String ds = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
--- End diff --
This is very messy, it is not required please remove.
---