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

Errors when transforming with Oxygen/Saxon #2

Open
ghost opened this issue Jan 13, 2016 · 2 comments
Open

Errors when transforming with Oxygen/Saxon #2

ghost opened this issue Jan 13, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Jan 13, 2016

I tried using docxtohtml to transform a document with Oxygen/Saxon, and received the following errors:

Error in expression w:p[w:pPr/w:numPr and count(./preceding-sibling::w:p[w:pPr/w:numPr/w:numId/@w:val=current()/w:pPr/w:numPr/w:numId/@w:val]) > 0 ]: The current() function may not be used in a pattern

Error in expression w:p[w:pPr/w:numPr and not(./preceding-sibling::w:p[w:pPr/w:numPr/w:numId/@w:val=current()/w:pPr/w:numPr/w:numId/@w:val])]: The current() function may not be used in a pattern

@ottoville
Copy link
Owner

Hello Kozyniak
Thank you for contributing and sorry for late reply.
Could you provide an example docx file that produce the error.

@ottoville
Copy link
Owner

ottoville commented May 7, 2016

Hello Kozuniak.

The module which was causing your error have now been mostly rewritten.
https://github.com/ottoville/DOCX2HTML.XSL/archive/master.zip
However, since I was not able to test your error as I dont have any docx file which causes it I cannot verify that error you faced have been fixed.

Please report if you are still facing the issue, otherwise I will fill this bug as closed after an week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant