|
@@ -337,7 +337,7 @@ public final class DocxProcessUtil {
|
|
*/
|
|
*/
|
|
public static String omml2mml(String omml)throws Exception {
|
|
public static String omml2mml(String omml)throws Exception {
|
|
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
|
|
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
|
|
- InputStream stylesheet = DocxProcessUtil.class.getClassLoader().getSystemResourceAsStream(OMML2MML_XSL);
|
|
|
|
|
|
+ InputStream stylesheet = DocxProcessUtil.class.getClassLoader().getResourceAsStream(OMML2MML_XSL);
|
|
StringReader sr = new StringReader(omml);
|
|
StringReader sr = new StringReader(omml);
|
|
InputSource ommldata = new InputSource(sr);
|
|
InputSource ommldata = new InputSource(sr);
|
|
StringWriter writer = new StringWriter();
|
|
StringWriter writer = new StringWriter();
|