Skip to content

Commit

Permalink
Add xml:base support to plugins.xml file #2018
Browse files Browse the repository at this point in the history
  • Loading branch information
jelovirt committed Aug 27, 2015
1 parent b982d55 commit b63180e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/org/dita/dost/platform/Integrator.java
Expand Up @@ -8,6 +8,7 @@
*/
package org.dita.dost.platform;

import static javax.xml.XMLConstants.*;
import static org.apache.commons.io.IOUtils.closeQuietly;
import static org.dita.dost.util.Constants.*;
import static org.dita.dost.util.Configuration.*;
Expand Down Expand Up @@ -495,6 +496,7 @@ private void parsePlugin() {
logger.debug("Read plug-in configuration " + descFile.getPath());
final Element plugin = parseDesc(descFile);
if (plugin != null) {
plugin.setAttributeNS(XML_NS_URI, XML_NS_PREFIX + ":base", descFile.toURI().resolve(".").toString());
root.appendChild(pluginsDoc.importNode(plugin, true));
}
}
Expand Down

0 comments on commit b63180e

Please sign in to comment.