You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The resulting application won't parse our style sheet dedicon-default.scss
Parse errors occur on all unicode characters - no error occurs if you remove all unicode characters from the style sheet. Here is the list of all problematic characters:
'\200B' (lines 120, 348, 622)
U+2814 (lines 546, 649, occurs as a single character)
U+2806 (line 610, occurs as a single character)
U+2821 (line 631, occurs as a single character)
U+280C (line 640, occurs as a single character)
Please note that the unit tests do not have this problem. XProcSpecRunner parses the style sheet correctly when executing <px:apply-stylesheets stylesheets="../../main/resources/css/dedicon-default.scss">
The text was updated successfully, but these errors were encountered:
PaulRambags
changed the title
The pipeline2 application failes to parse the style sheet
The pipeline2 application fails to parse the style sheet
Aug 2, 2017
Looking back at the issues Bert mentioned I finally remembered that yes, I did struggle with this.
The hack solution is to add an environment variable:
Name: JAVA_TOOL_OPTIONS
Value: -Dfile.encoding=UTF8
NB: I also added -Xmx2048M there, because the Pipeline can get very hungry.
IIRC, the reason this was necessary is because the conversion process is spawned in a separate JVM that doesn't inherit this parameter. A cleaner solution would be to pass this parameter on when starting the conversion.
The -Xmx2048M option can best be omitted. It caused the Dedicon unit tests to take 2 GB of memory and run seemingly forever and then crash with a java.lang.OutOfMemoryError: GC overhead limit exceeded. Without this -Xmx2048M option, the unit tests take almost 4 GB of memory and run successfully.
We have cloned https://github.com/daisy/pipeline-assembly.git and extended the POM with our own module by adding:
The resulting application won't parse our style sheet
dedicon-default.scss
Parse errors occur on all unicode characters - no error occurs if you remove all unicode characters from the style sheet. Here is the list of all problematic characters:
Please note that the unit tests do not have this problem. XProcSpecRunner parses the style sheet correctly when executing
<px:apply-stylesheets stylesheets="../../main/resources/css/dedicon-default.scss">
The text was updated successfully, but these errors were encountered: