[x3d-public] Trying to use X3dToJson.xslt in web page to produce JSON.
brutzman at nps.edu
Sun Nov 29 18:01:00 PST 2015
On 11/29/2015 2:24 PM, John Carlson wrote:
> Okay, I have another one for you Don. It has to do with MFRotation. Apparently MFRotations in JSON output aren’t quoted or made into an array. See attached JSON and X3D. I am not sure if you’ve caught this yet, and I am on the track of something else, so here it is.
Aha, very good. Yes a few types were slipping through and leaning on defaults which certainly isn't the safest way to go.
I reviewed the list for field types and think we have them all now. Added explicit checks for fields with type SF/MFTime, SF/MFRotation, SF/MFDouble, SF/MFImage
Modified stylesheet uploaded, will run another full batch of example conversions tonight for uploading tomorrow during work hours.
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