aug.setDTDValidationMode(Validation.STRIP);
aug.setLineNumbering(true);
if (aug.getXMLReader() == null && Configuration.getPlatform().isJava()) {
XMLReader styleParser = config.getStyleParser();
aug.setXMLReader(styleParser);
sender.send(aug, commentStripper);
config.reuseStyleParser(styleParser);
} else {
sender.send(aug, commentStripper);
}
doc = (DocumentImpl)styleBuilder.getCurrentRoot();