<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div>Hi folks<br></div><div><br></div><div>just an FYI for the maintainers if they have time and inclination.</div><div><br></div><div> Its an easy workaround, but I thought I would bring it to the board's attention.<br></div><div><br></div><blockquote style="border: 1px solid rgb(204, 204, 204); padding: 7px; background-color: rgb(245, 245, 245);"><div><div>XMLNode  >> canonicallyPrintToFileNamed: aFileName<br></div><div>"Prints to the file aFileName as canonical XML (<a href="http://www.w3.org/TR/xml-c14n" target="_blank">http://www.w3.org/TR/xml-c14n</a>)"<br></div></div></blockquote><div>and its cousins prettyPrintToFileNamed: and printToFileNamed:   throw a XMLFileException: (MessageNotUnderstood) ByteString>>asFileReference  .<br></div><div><br></div><div><br></div><div>The workaround is straightforward with<br></div><div><br></div><div>|ios|<br></div><div>ios := ReadWSriteStream on:''.<br></div><div>self canonicallyPrintOn: ios.<br></div><div>StandardFileStream forceNewFileNamed: 'dude.xml' do:[:file | file nextPutAll: ios contents].<br></div><div><br></div><div><br></div><div>cheers.</div></div><br></body></html>