[x3d-public] X3dToJson.xslt dropping newlines from ECMAScript source code.
Don Brutzman
brutzman at nps.edu
Fri Jan 26 08:57:42 PST 2018
John the codebase is clobbered. Until it is fixed I can't do anything.
On 1/26/2018 5:19 AM, John Carlson wrote:
> Losing spaces entirely in JSON output:
>
> $ diff HelloWorldProgramOutput.json HelloWorldProgramOutput.Nashorn.json
>
> 369c369
>
> < "#comment":"alternative XML encoding: Text string='\"One, Two, Three\" \"\" \"He said, \\"Immel did it!\\"\"'"
>
> ---
>
> > "#comment":"alternative XML encoding: Text string='\"One, Two, Three\"\"\"\"He said, \\"Immel did it!\\"\"'"
>
> Maybe I should have been happy with comments as they were? Yipes!
>
> John
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
>
> *From: *John Carlson <mailto:yottzumm at gmail.com>
> *Sent: *Friday, January 26, 2018 7:48 AM
> *To: *Don Brutzman <mailto:brutzman at nps.edu>; x3d-public at web3d.org <mailto:x3d-public at web3d.org>
> *Subject: *X3dToJson.xslt dropping newlines from ECMAScript source code.
>
> Do NOT normalize ECMAScript source code like you normalize comments.
>
> John
all the best, Don
--
Don Brutzman Naval Postgraduate School, Code USW/Br brutzman at nps.edu
Watkins 270, MOVES Institute, Monterey CA 93943-5000 USA +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman
More information about the x3d-public
mailing list