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

Build fails with Invalid dateTime value #39

Closed
stefan-jung opened this issue Jun 1, 2017 · 1 comment
Closed

Build fails with Invalid dateTime value #39

stefan-jung opened this issue Jun 1, 2017 · 1 comment
Milestone

Comments

@stefan-jung
Copy link

The build fails with Invalid dateTime value.

DITA-OT: 2.5
com.elovirta.ooxml branch: master

docx.convert:
     [xslt] Processing C:\Users\eike\DITA\web-client\temp\processing\BHB_UnikatGE_Webclient_MERGED.xml to C:\Users\eike\DITA\web-client\temp\processing\BHB_UnikatGE_Webclient_CLEANED.xml
     [xslt] Loading stylesheet C:\Users\eike\.DITA\dita-ot\plugins\com.elovirta.ooxml\docx\word\document.flat.xsl
     [xslt] Processing C:\Users\eike\DITA\web-client\temp\processing\BHB_UnikatGE_Webclient_CLEANED.xml to C:\Users\eike\DITA\web-client\temp\processing\docx\docProps\core.xml
     [xslt] Loading stylesheet C:\Users\eike\.DITA\dita-ot\plugins\com.elovirta.ooxml\docx\docProps\core.xsl
     [xslt] Processing C:\Users\eike\DITA\web-client\temp\processing\BHB_UnikatGE_Webclient_CLEANED.xml to C:\Users\eike\DITA\web-client\temp\processing\docx\docProps\custom.xml
     [xslt] Loading stylesheet C:\Users\eike\.DITA\dita-ot\plugins\com.elovirta.ooxml\docx\docProps\custom.xsl
     [xslt] Processing C:\Users\eike\DITA\web-client\temp\processing\BHB_UnikatGE_Webclient_CLEANED.xml to C:\Users\eike\DITA\web-client\temp\processing\docx\word\document.xml
     [xslt] Loading stylesheet C:\Users\eike\.DITA\dita-ot\plugins\com.elovirta.ooxml\docx\word\document.xsl
     [xslt] Processing C:\Users\eike\DITA\web-client\temp\processing\BHB_UnikatGE_Webclient_CLEANED.xml to C:\Users\eike\DITA\web-client\temp\processing\docx\word\comments.xml
     [xslt] Loading stylesheet C:\Users\eike\.DITA\dita-ot\plugins\com.elovirta.ooxml\docx\word\comments.xsl
     [xslt] C:\Users\eike\.DITA\dita-ot\plugins\com.elovirta.ooxml\docx\word\document.utils.xsl:42: Fatal Error! Invalid dateTime value "2016-11-11T12:13:52+0100" (Timezone hour must be two digits)
     [xslt] Failed to process C:\Users\eike\DITA\web-client\temp\processing\BHB_UnikatGE_Webclient_CLEANED.xml

BUILD FAILED
C:\Users\eike\DITA\web-client\build.xml:71: The following error occurred while executing this line:
C:\Users\eike\.DITA\dita-ot\build.xml:45: The following error occurred while executing this line:
C:\Users\eike\.DITA\dita-ot\plugins\com.elovirta.ooxml\build.xml:112: Fatal error during transformation using C:\Users\eike\.DITA\dita-ot\plugins\com.elovirta.ooxml\docx\word\comments.xsl: Invalid dateTime value "2016-11-11T12:13:52+0100" (Timezone hour must be two digits); SystemID: file:/C:/Users/eike/.DITA/dita-ot/plugins/com.elovirta.ooxml/docx/word/document.utils.xsl; Line#: 42; Column#: -1
@jelovirt jelovirt added the bug label Jun 2, 2017
@jelovirt
Copy link
Owner

jelovirt commented Jun 2, 2017

Seems XPath data-time parsing doesn't support timezone without a hour and minute separator.

@jelovirt jelovirt added enhancement and removed bug labels Jun 2, 2017
@jelovirt jelovirt closed this as completed Jun 2, 2017
@jelovirt jelovirt added this to the 1.3.1 milestone Jun 2, 2017
@jelovirt jelovirt modified the milestones: 1.3.1, 1.4.0 Mar 27, 2020
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

2 participants