[x3d-public] compare these two outputs. They should be identical.X3DJSAIL.

John Carlson yottzumm at gmail.com
Tue Jan 2 09:48:59 PST 2018


Patch differences reduced. See patch and identical attachment.  This two files should have no differences.

John

diff HelloWorldProgramOutputOutput.x3d ../../examples/HelloWorldProgramOutput.x3d
76c76
<                         <MetadataString name='quotesTestC' containerField='value' value='"MFString example C, backslash-escaped quotes: He said, \\"Immel did it!\\""'/>
---
>                         <MetadataString name='quotesTestC' containerField='value' value='"MFString example C, backslash-escaped quotes: He said, \"Immel did it!\""'/>
88c88
<                     <Text string='"One, Two, Three" "" "He said, \\"Immel did it!\\""'/>
---
>                     <Text string='"One, Two, Three" "" "He said, \"Immel did it!\""'/>
106,107d105
<
<
115d112
<
211,212d207
<
<
236d230
<
254,258c248,252
<         <!-- Test success: x3dModel.findNodeByDEF(DeclarativeAppearanceExample) = <Appearance DEF='DeclarativeAppearanceExample'/> i.e. -->
<         <!-- <Appearance DEF='DeclarativeAppearanceExample'> -->
<         <!-- <!- - DeclarativeMaterialExample gets overridden by subsequently added MaterialModulator ProtoInstance - -> -->
<         <!-- <ProtoInstance DEF='MyMaterialModulator' name='MaterialModulator' containerField='material'/> -->
<         <!-- </Appearance> -->
---
>         <!-- Test success: x3dModel.findNodeByDEF(DeclarativeAppearanceExample) = <Appearance DEF='DeclarativeAppearanceExample'/> i.e.
> <Appearance DEF='DeclarativeAppearanceExample'>
>     <!- - DeclarativeMaterialExample gets overridden by subsequently added MaterialModulator ProtoInstance - ->
>     <ProtoInstance DEF='MyMaterialModulator' name='MaterialModulator' containerField='material'/>
> </Appearance> -->

John

Sent from Mail for Windows 10

From: John Carlson
Sent: Tuesday, January 2, 2018 12:15 PM
To: Don Brutzman; x3d-public at web3d.org
Subject: RE: compare these two outputs. They should be identical.X3DJSAIL.

Here’s the patch differences.

John

Sent from Mail for Windows 10

From: John Carlson
Sent: Tuesday, January 2, 2018 12:09 PM
To: Don Brutzman; x3d-public at web3d.org
Subject: compare these two outputs. They should be identical. X3DJSAIL.

Compare the output HelloWorldProgramOutput.x3d              (from HelloWorldProgram.java)
                                 to HelloWorldProgramOutputOutput.x3d (from HelloWorldProgramOutput.java)


HelloWorldProgramOutputOutput.x3d was generated like so:

                <java classname="HelloWorldProgramOutput" classpath="${java.classes.dir};${java.jars.dir}/${jsai.full.archive.jar.name}" fork="${fork}">
                    <arg value="x3d"/>
                    <arg value="nashorn/examples/HelloWorldProgramOutputOutput.x3d"/>
                </java>

These files should be identical. Why not? That’s the question I’ve been trying to answer, and I may have to patch X3DJSAIL myself…

John


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180102/26059f77/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HelloWorldProgramOutputOutput.patch
Type: application/octet-stream
Size: 1522 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180102/26059f77/attachment.obj>


More information about the x3d-public mailing list