phax / ph-schematron

Java Schematron library that supports XSLT and native application
Apache License 2.0
111 stars 36 forks source link

Bug in ph-schematron-maven-plugin when converting sch to xslt? #94

Closed jkiddo closed 4 years ago

jkiddo commented 4 years ago

67f118d2-8f4e-4c9b-99fd-c38d964fd242.zip.

There seems to be a bug when trying to convert the medcom-documents-PDC_s_r.sch (inside the zip) to an xslt, using the ph-schematron-maven-plugin. It is hard for me to say whether its a bug in the sch or a bug in the xslt - or it simply requires a LOT of memory to do the conversion.

jkiddo commented 4 years ago

@ahenket may have some clues to why this happens ... as it only concerns one of the 'root' sch files?

jkiddo commented 4 years ago

Hmmmm .... Running with export MAVEN_OPTS="-Xms8g -Xmx8g -XX:MaxDirectMemorySize=4096m" seems to have solved the problem ... the resulting XSLT is roughly 190 mb ...

jkiddo commented 4 years ago

I believe this is strictly related to the source system producing the sch files