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

View: New views
1 Messages — Rating Filter:   Alert me  

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

by Steffen Märcker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
vwnc@...
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc