There is a small misstype in build.xml (cvs version 6.0.1) on line 75:
<file name="livegrid.css[spacechar]"/>
Space char should be removed.
I use saxon8.jar from saxon8-9j, but compilation fails...
(ox)root@gw:/packages/open-xchange-gui# ant -Dlib.dir=/packages/open-xchange-lib/
Buildfile: build.xml
css:
[xslt] Processing /packages/open-xchange-gui/style.xml to /packages/open-xchange-gui/build/border.css
[xslt] Loading stylesheet /packages/open-xchange-gui/css.xsl
html:
build page:
[xslt] Processing /packages/open-xchange-gui/html/index.xml to /packages/open-xchange-gui/index.html
[xslt] Loading stylesheet /packages/open-xchange-gui/build.xsl
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 48: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#default'
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 103: An attribute whose value must be a QName or whitespace-separated list of QNames had the value 'include misc border layout i18n'
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 104: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 107: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#all'
[xslt] : Error! Syntax error in 'element()'.
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 141: Error parsing XPath expression 'element()'.
[xslt] : Error! Syntax error in 'attribute()'.
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 149: Error parsing XPath expression 'attribute()'.
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 156: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 162: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 169: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 196: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 201: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 219: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 227: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 260: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 276: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
[xslt] : Error! Syntax error in 'concat( if (not($first)) then 'position:absolute;left:0;top:0;width:100%;height: 100%;' else '', if ($last) then @style else '')'.
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 339: Error parsing XPath expression 'concat( if (not($first)) then 'position:absolute;left:0;top:0;width:100%;height: 100%;' else '', if ($last) then @style else '')'.
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 339: Required attribute 'select' is missing.
[xslt] : Error! Syntax error in 'if (@oxadding) then concat('padding: ', @oxadding, ';') else '''.
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 406: Error parsing XPath expression 'if (@oxadding) then concat('padding: ', @oxadding, ';') else '''.
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 406: Required attribute 'select' is missing.
[xslt] : Error! Syntax error in 'if (@ox:border) then concat('border-width: ', @ox:border, ';') else '''.
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 407: Error parsing XPath expression 'if (@ox:border) then concat('border-width: ', @ox:border, ';') else '''.
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 407: Required attribute 'select' is missing.
[xslt] : Error! Syntax error in 'if (@ox:margin) then concat('margin: ', @ox:margin, ';') else '''.
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 408: Error parsing XPath expression 'if (@ox:margin) then concat('margin: ', @ox:margin, ';') else '''.
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 408: Required attribute 'select' is missing.
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 411: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 423: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
[xslt] : Fatal Error! Could not compile stylesheet
[xslt] Failed to process /packages/open-xchange-gui/html/index.xml
BUILD FAILED
/packages/open-xchange-gui/build.xml:89: The following error occurred while executing this line:
/packages/open-xchange-gui/build.xml:45: Fatal error during transformation
Total time: 5 seconds
<file name="livegrid.css[spacechar]"/>
Space char should be removed.
I use saxon8.jar from saxon8-9j, but compilation fails...
(ox)root@gw:/packages/open-xchange-gui# ant -Dlib.dir=/packages/open-xchange-lib/
Buildfile: build.xml
css:
[xslt] Processing /packages/open-xchange-gui/style.xml to /packages/open-xchange-gui/build/border.css
[xslt] Loading stylesheet /packages/open-xchange-gui/css.xsl
html:
build page:
[xslt] Processing /packages/open-xchange-gui/html/index.xml to /packages/open-xchange-gui/index.html
[xslt] Loading stylesheet /packages/open-xchange-gui/build.xsl
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 48: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#default'
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 103: An attribute whose value must be a QName or whitespace-separated list of QNames had the value 'include misc border layout i18n'
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 104: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 107: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#all'
[xslt] : Error! Syntax error in 'element()'.
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 141: Error parsing XPath expression 'element()'.
[xslt] : Error! Syntax error in 'attribute()'.
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 149: Error parsing XPath expression 'attribute()'.
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 156: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 162: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 169: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 196: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 201: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 219: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 227: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 260: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 276: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
[xslt] : Error! Syntax error in 'concat( if (not($first)) then 'position:absolute;left:0;top:0;width:100%;height: 100%;' else '', if ($last) then @style else '')'.
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 339: Error parsing XPath expression 'concat( if (not($first)) then 'position:absolute;left:0;top:0;width:100%;height: 100%;' else '', if ($last) then @style else '')'.
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 339: Required attribute 'select' is missing.
[xslt] : Error! Syntax error in 'if (@oxadding) then concat('padding: ', @oxadding, ';') else '''.
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 406: Error parsing XPath expression 'if (@oxadding) then concat('padding: ', @oxadding, ';') else '''.
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 406: Required attribute 'select' is missing.
[xslt] : Error! Syntax error in 'if (@ox:border) then concat('border-width: ', @ox:border, ';') else '''.
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 407: Error parsing XPath expression 'if (@ox:border) then concat('border-width: ', @ox:border, ';') else '''.
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 407: Required attribute 'select' is missing.
[xslt] : Error! Syntax error in 'if (@ox:margin) then concat('margin: ', @ox:margin, ';') else '''.
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 408: Error parsing XPath expression 'if (@ox:margin) then concat('margin: ', @ox:margin, ';') else '''.
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 408: Required attribute 'select' is missing.
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 411: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
[xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 423: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
[xslt] : Fatal Error! Could not compile stylesheet
[xslt] Failed to process /packages/open-xchange-gui/html/index.xml
BUILD FAILED
/packages/open-xchange-gui/build.xml:89: The following error occurred while executing this line:
/packages/open-xchange-gui/build.xml:45: Fatal error during transformation
Total time: 5 seconds
Comment