[vwnc] StreamWrapper>>encodingDecl problem (7.6, 7.7)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[vwnc] StreamWrapper>>encodingDecl problem (7.6, 7.7)

Steffen Märcker
Hi,

while trying to read an XMLObjectBinding with: XMLObjectBinding loadFrom:  
'someFile' asFilename readStream, I've got an MNU in  
StreamWrapper>>encodingDecl. The code attempts to set the encoding to the  
one specified by the XML encoding declaration. This fails, because  
ExternalReadStream responds to #encoding, but not to #encoding:.
Would it be useful to alter the implementation in order to wrap the stream  
into an EncodedStream or another suitable Stream? Or is StreamWrapper not  
intended to handle plain external streams?

Cheers,
Steffen
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc