Newer
Older
stardog-misc / fixes / namespace-with-equals-bug / README
  1. Compiled a replacement method for NamespaceIO._read() based on:
  2.  
  3. int pos = theValue.indexOf('=');
  4. if (pos == -1) {
  5. throw new IllegalArgumentException("Not a valid prefix definition: " + theValue);
  6. }
  7. return Values.namespace(theValue.substring(0, pos), theValue.substring(pos+1));
  8.  
  9. Edited bytecode of existing c.c.s.metadata.TextIO$NamespaceIO class using Java Bytecode Editor.
  10. Resulting class file here, TextIO$NamespaceIO.class, needs copying into stardog-a.b.c.jar
  11.