[x3d-public] JSON encoding for SFNode: no [array brackets] fixed; warn about developmental version

Don Brutzman brutzman at nps.edu
Sun Feb 21 15:02:06 PST 2016


if possible please try version control for the latest stylesheet when confirming these tests.  accessible via http.  it gives you clear visibility into the changes that occur.  i also update our web3d.org website once or twice a day when developing, but not as often.

https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets/X3dToJson.xslt

History:
https://sourceforge.net/p/x3d/code/22929/log/?path=/www.web3d.org/x3d/stylesheets/X3dToJson.xslt

On 2/21/2016 2:24 PM, John Carlson wrote:
>
>> On Feb 19, 2016, at 8:56 PM, Don Brutzman <brutzman at nps.edu> wrote:
>>
>> This meta-warning feature is added, example attached.  Should protect us from stray experimental content drifting and provoking errors for years...
>>
>> John, I think the stray comma problem preceding Shader #sourceText is fixed too but you will need to test further on your end.
>>
>
> No, it is not fixed with the latest stylesheet downloaded from http://www.web3d.org/x3d/stylesheets/X3dToJson.xslt

my latest test shows it working, i.e. not replacing a space with a comma within a file name:

https://savage.nps.edu/Savage/OffshoreStructures/OilRigs/OilRig.x3d

"-texture":
   { "ImageTexture":
     {
       "@url":["OIL MAIN.jpg","https://savage.nps.edu/Savage/OffshoreStructures/OilRigs/OIL MAIN.jpg"]
     }
   },

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