else if (name.equals("content")) {
String encoding = child.getAttributeValue("encoding");
if (encoding == null)
encoding = this.defaultEncoding;
TextSerializer encoder = getEncoder(encoding);
try {
byte [] content = (byte [])encoder.read(child.getText());
memFile.setContent(content);
}
catch(ParseException e) {
throw new IOException(e.getMessage());
}