Skip to content

Commit

Permalink
improving Atom10Generator as rometools#689 requested
Browse files Browse the repository at this point in the history
Signed-off-by: Antonio <[email protected]>
  • Loading branch information
antoniosanct committed May 11, 2024
1 parent 17bf0d2 commit e5cc26f
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,12 @@ protected void fillContentElement(final Element contentElement, final Content co
}

}

final String xmlBase = content.getXmlBase();
if (xmlBase != null) {
final Attribute xmlBaseAttribute = new Attribute("base", xmlBase, Namespace.XML_NAMESPACE);
contentElement.setAttribute(xmlBaseAttribute);
}
}

protected Element generateGeneratorElement(final Generator generator) {
Expand Down

0 comments on commit e5cc26f

Please sign in to comment.