jmole crashes if there are whitespaces/newlines between <objectNameQuery> and </objectNameQuery>
Issue #61
resolved
The <objectNameQuery>...</objectNameQuery> lines i jmole-docker/wildfly/JMole_WildFly_10.0.xml is very long.
IntelliJ IDEA reformats long lines at commit.
It add newlines and whitespaces between <objectNameQuery> and the content and/or between the content and </objectNameQuery>
Adding normalize-space(.) in JMole.xsl resolves this issue like:
<xsl:for-each select="objectNameQueries/objectNameQuery">
<void method="add">
<string><xsl:value-of select="normalize-space(.)"/></string>
</void>
</xsl:for-each>
Maybe it should be added to all <xsl:value-of/> selecting not selecting an attribute?
Comments (4)
-
reporter -
reporter - attached JMole.xsl
-
repo owner -
assigned issue to
-
assigned issue to
-
repo owner - changed status to resolved
Fixed
#61→ <<cset 152e96f83c67>>
- Log in to comment
Wanted to create a pull requests but I don't know how in bitbucket.
I'll attach my patch JMole.xsl