mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-08-23 15:06:46 +00:00
Merge pull request #16 from adam-miller/HER-2017
Fix for HER-2017 XML representation of beans uses root node of type "script"
This commit is contained in:
@@ -123,7 +123,7 @@ public class BeanBrowseResource extends JobRelatedResource {
|
||||
if (variant.getMediaType() == MediaType.APPLICATION_XML) {
|
||||
representation = new WriterRepresentation(MediaType.APPLICATION_XML) {
|
||||
public void write(Writer writer) throws IOException {
|
||||
XmlMarshaller.marshalDocument(writer, "script", makePresentableMap());
|
||||
XmlMarshaller.marshalDocument(writer, "beans", makePresentableMap());
|
||||
}
|
||||
};
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user