A copy of the load options the failed attempt used, or null on the first attempt. Changing it never changes the options returned earlier; return it, changed, to load the document again with it.
Source format: the format the document’s name gives, or the format its content shows when the name gives no known format or names an XML or HTML document. The content is read when this property is first read, so load options that state the format without reading it add no detection.
Source stream: the document’s content, at position 0. null when the load options are asked again for an archive entry that could not be extracted, since there is no content yet.