Here's a fix for importing from empty streams. It does it by reading the stream to a string, and then reading from the string after checking to see if it is empty or not. If it is empty, it returns a new empty instance of the descriptor. If not, the descriptor is loaded as normal.
Here's a fix for importing from empty streams. It does it by reading the stream to a string, and then reading from the string after checking to see if it is empty or not. If it is empty, it returns a new empty instance of the descriptor. If not, the descriptor is loaded as normal.