Not sure if this should be posted here. The documention for the import tag says that the type of varReader is string, the description says Reader.
The description for "varReader" says: Name of the exported scoped variable for the resource's content. The type of the scoped variable is Reader. There are therefore two things here: 1. The value of attribute varReader, which is a String representing the name of the exported scoped variable 2. The type associated with the exported scoped variable, which is Reader. So when the spec says: "It is also possible to make the content of the resource available in two different ways: as a String object (attribute var), or as a Reader object (attribute varReader)." both var and varReader specify the names of exported scoped variables (specified as strings), but the type of these exported variables are respectively String and Reader.
*** Bug 26088 has been marked as a duplicate of this bug. ***