[x3d-public] Everit summary, auto-generated versus roy's, X3DUOM min/max for rotation. RFE for X3DUOM

Don Brutzman brutzman at nps.edu
Fri Apr 2 21:04:47 PDT 2021


Hi John, don't make it hard.  Straight shot:

If JSON schema draft 7 allows comments then you can simply use them in the schema.

We already allow comments in JSON encoding of XML scenes:

==============================================
* X3D to JSON Stylesheet Converter: Data Types
   https://www.web3d.org/x3d/stylesheets/X3dToJson.html#DataTypes

X3D scene graph	XML encoding for X3D 	JSON encoding for X3D
Comments       	<!-- XML comment --> 	Special string prefix: "#comment" for single-object comments

==============================================

So the X3D JSON schema needs to support comments, i.e. #comment objects.

If you can put comments in schema as well, fine, but not necessary.

Single-line string comments are OK, that is canonical form.

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