Skip to content

Commit f367bad

Browse files
EXM-49561: Update Oxygen version
1 parent 628652f commit f367bad

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

addon.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ https://www.oxygenxml.com/doc/versions/18.1/ug-editor/topics/packing-and-deployi
99
<xt:location
1010
href="https://github.com/oxygenxml/dita-prolog-updater/releases/download/${project.version}/${project.build.finalName}-plugin.jar"/>
1111
<xt:version>${project.version}</xt:version>
12-
<xt:oxy_version>19.0+</xt:oxy_version>
12+
<xt:oxy_version>22.1+</xt:oxy_version>
1313
<xt:type>plugin</xt:type>
1414
<xt:author>Syncro Soft</xt:author>
1515
<xt:name>DITA Prolog Updater</xt:name>

pom.xml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,8 @@
5151
<dependency>
5252
<groupId>com.oxygenxml</groupId>
5353
<artifactId>oxygen-sdk</artifactId>
54-
<version>19.0.0.0</version>
54+
<version>22.1.0.0</version>
5555
<scope>provided</scope>
56-
<exclusions>
57-
<exclusion>
58-
<groupId>log4j</groupId>
59-
<artifactId>log4j</artifactId>
60-
</exclusion>
61-
</exclusions>
6256
</dependency>
6357

6458
<dependency>

src/test/java/com/oxygenxml/prolog/updater/AuthorTestCase.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
import org.w3c.css.sac.InputSource;
1414
import org.xml.sax.SAXException;
1515

16-
import com.oxygenxml.prolog.updater.DitaPrologUpdater;
1716
import junit.framework.TestCase;
17+
import ro.sync.ecss.component.CSSInputSource;
1818
import ro.sync.ecss.css.csstopdf.facade.AuthorDocumentFacade;
1919
import ro.sync.ecss.css.csstopdf.facade.AuthorDocumentFacadeFactory;
2020
import ro.sync.ecss.css.csstopdf.facade.CatalogResolverFacade;
@@ -111,7 +111,7 @@ public String updateProlog(String inputXML, boolean isNewDocument)
111111
// Create a AuthorDocumentController
112112
//
113113
AuthorDocumentFacadeFactory facadeFactory = new AuthorDocumentFacadeFactory();
114-
InputSource[] cssInputSources = new InputSource[] { new InputSource(new StringReader("* {display: block;}")) };
114+
CSSInputSource[] cssInputSources = new CSSInputSource[] { new CSSInputSource(new InputSource(new StringReader("* {display: block;}")), (byte) 0) };
115115
StringReader reader = new StringReader(inputXML);
116116
AuthorDocumentFacade facade = facadeFactory.createFacade(new StreamSource(reader), cssInputSources, null,
117117
new File("."));

0 commit comments

Comments
 (0)