Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ODT plugin fails due to missing getMax() #1620

Closed
divergentdave opened this issue Jan 4, 2014 · 0 comments
Closed

ODT plugin fails due to missing getMax() #1620

divergentdave opened this issue Jan 4, 2014 · 0 comments
Assignees
Labels
bug plugin/odt Issue related to ODT plug-in priority/medium Medium (or unknown) priority issue
Milestone

Comments

@divergentdave
Copy link

I tried running the ODT transform using the latest revision of the develop branch, and I ran into a problem in the XSL transform step. The files src/main/plugins/org.dita.odt/xsl/xslodt/dita2odt-flagging.xsl and src/main/plugins/org.dita.odt/xsl/xslodt/dita2odt-utilities.xsl both refer to the function org.dita.dost.util.StringUtils.getMax(), which was deleted in revision 982eb8b. The error messages are as follows.

     [xslt] c:\Users\David\dita\dita-ot\src\main\plugins\org.dita.odt\xsl\xslodt\dita2odt-utilities.xsl:374:157: Fatal Error! XPath syntax error at char 125 on line 374 in {...depth), string($stable_dept...}:
     [xslt]     Cannot find a matching 5-argument function named {org.dita.dost.util.StringUtils}getMax()
     [xslt] c:\Users\David\dita\dita-ot\src\main\plugins\org.dita.odt\xsl\xslodt\dita2odt-utilities.xsl:728:157: Fatal Error! XPath syntax error at char 125 on line 728 in {...depth), string($stable_dept...}:
     [xslt]     Cannot find a matching 5-argument function named {org.dita.dost.util.StringUtils}getMax()
     [xslt] c:\Users\David\dita\dita-ot\src\main\plugins\org.dita.odt\xsl\xslodt\dita2odt-flagging.xsl:939:76: Fatal Error! XPath syntax error at char 148 on line 939 in {...depth), string($stable_dept...}:
     [xslt]     Cannot find a matching 6-argument function named {org.dita.dost.util.StringUtils}getMax()
     [xslt] c:\Users\David\dita\dita-ot\src\main\plugins\org.dita.odt\xsl\xslodt\dita2odt-flagging.xsl:1006:76: Fatal Error! XPath syntax error at char 148 on line 1006 in {...depth), string($stable_dept...}:
     [xslt]     Cannot find a matching 6-argument function named {org.dita.dost.util.StringUtils}getMax()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug plugin/odt Issue related to ODT plug-in priority/medium Medium (or unknown) priority issue
Projects
None yet
Development

No branches or pull requests

2 participants