[x3d-public] Mods to /c/x3d-code/www.web3d.org/x3d/stylesheets/CreateX3dSceneAccessInterfaceJava.xslt

John Carlson yottzumm at gmail.com
Thu Jul 20 12:22:31 PDT 2017


An attempt to make it more typesafe.  I can’t recall if it was successful or not:


$ diff -c /c/x3d-code/www.web3d.org/x3d/stylesheets/CreateX3dSceneAccessInterfaceJava.xslt CreateX3dSceneAccessInterfaceJava.xslt
*** /c/x3d-code/www.web3d.org/x3d/stylesheets/CreateX3dSceneAccessInterfaceJava.xslt    2017-05-30 02:01:03.795694800 -0400
--- CreateX3dSceneAccessInterfaceJava.xslt      2017-07-20 15:17:27.657379700 -0400
***************
*** 337,343 ****
                        <xsl:when test="($x3dType = 'MFString')">
                                <xsl:choose>
                                        <xsl:when test="($javadoc='false')">
!                                               <xsl:text disable-output-escaping="yes">new ArrayList<>(Arrays.asList(</xsl:text><!-- ArrayList<> -->
                                        </xsl:when>
                                        <xsl:otherwise>
                                                <xsl:text>new String[] {</xsl:text>
--- 337,343 ----
                        <xsl:when test="($x3dType = 'MFString')">
                                <xsl:choose>
                                        <xsl:when test="($javadoc='false')">
!                                               <xsl:text disable-output-escaping="yes">new ArrayList<String>(Arrays.<String>asList(</xsl:text><!-- ArrayList<> -->
                                        </xsl:when>
                                        <xsl:otherwise>
                                                <xsl:text>new String[] {</xsl:text>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170720/fa401d02/attachment-0001.html>


More information about the x3d-public mailing list