[x3d-public] Problem with X3dToJava.xslt/X3DJSAIL. Generated file doesn'tcompile

John Carlson yottzumm at gmail.com
Sat May 12 13:53:43 PDT 2018


Commenting out the offending line in X3dToJava.xslt allowed compilation, but that’s probably not desirable.

John

Sent from Mail for Windows 10

From: John Carlson
Sent: Saturday, May 12, 2018 4:49 PM
To: Don Brutzman; X3D Graphics public mailing list
Subject: RE: Problem with X3dToJava.xslt/X3DJSAIL. Generated file doesn'tcompile

This one is very puzzling.  Here is the code the error should reference, and it apparently doesn’t????  Time to get a new version of Java?

John

t values. */
        public X3DObject()
        {
                super(); // constructor invocation and corresponding initialize()
                initialize();
        }

        /** Initialize all member variables to default values. */
        @Override
        public final void initialize()
        {
                super.initialize();

                head = null; // clear out any prior node
                profile = PROFILE_DEFAULT_VALUE;
                Scene = null; // clear out any prior node
                version = VERSION_DEFAULT_VALUE;

                commentsList = new ArrayList<>(); // instantiate
        }

        /**
         * File extension for X3D XML Encoding, with dot prepended: <i>.x3d</i>
         * @see <a href="http://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/X3D_XML.html">X3D XML Encoding</a>
         */
        public static final String FILE_EXTENSION_X3D = ".x3d";

        /**
         * File extension for X3D ClassicVRML Encoding, with dot prepended: <i>.x3dv</i>
         * @see <a href="http://www.web3d.org/documents/specifications/19776-2/V3.3/Part02/X3D_ClassicVRML.html">X3D ClassicVRML Encoding</a>
         */
        public static final String FILE_EXTENSION_CLASSICVRML = ".x3dv";
        /**
         * File extension for X3D Compressed Binary Encoding, with dot prepended: <i>.x3db</i>
         * @see <a href="http://www.web3d.org/documents/specifications/19776-3/V3.3/Part03/X3D_Binary.html">X3D Compressed Binary Encoding Encoding</a>
         */
        public static final String FILE_EXTENSION_X3DB = ".x3db";


Sent from Mail for Windows 10

From: John Carlson
Sent: Saturday, May 12, 2018 4:39 PM
To: Don Brutzman; X3D Graphics public mailing list
Subject: Problem with X3dToJava.xslt/X3DJSAIL. Generated file doesn't compile

The attached file doesn’t compile.  Please help with X3dToJava.xslt/X3DJSAIL.

[ERROR] C:\Users\coderextreme\X3DJSONLD\src\main\java\net\x3djsonld\data\flipp.java:[287,41] error: cannot find symbol
[ERROR]   symbol:   variable FILE_EXTENSION_X3DB
[ERROR]   location: class X3DObject


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180512/4a9fd6e0/attachment-0001.html>


More information about the x3d-public mailing list