Bug #124
Load operation requires valid source URL even if overridden with InputStream
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
fixed
Description
The org.mulgara.query.operation.Load class extends the DataTx operation, whose constructor requires URI's for source, destination, and graph. The DataTx operation also provides a setOverrideStream() method allowing the client to override the source URI with an InputStream. Even if an overriding input stream is used, the source URI is required to be a valid URL or else line 137 will throw an error. The line in question is:
I believe that the correct behavior if a client provides an overriding [[InputStream]] is to never evaluate the source URI and treat the input stream as always uncompressed.