You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thanks for letting me know, I have to say i was really surprised how hard it seems to be to get the namespace uri's in Java. I'll have a look ... maybe there should be an option on SbgnUtil that controls whether a conversion should be attempted or not, and only if perform the workaround. I'll think about it
SbgnUtil.readFrom(InputStream is)
fails when a conversion is necessary (from Milestone 1 or 2).The problem is that the input stream can only be used once.
This happens here
Sbgn result = (Sbgn) unmarshaller.unmarshal(is);
Afterwards the input stream is closed and a conversion is not possible.
This will always fail
String docUri = XmlUtil.getDocumentUri(is);
Possible fixes
readFrom
methods which don't provide a conversion.readFromFile
The text was updated successfully, but these errors were encountered: