[x3d-public] Everit summary, auto-generated versus roy's, X3DUOM min/max for rotation. RFE for X3DUOM
John Carlson
yottzumm at gmail.com
Fri Apr 2 21:44:13 PDT 2021
We were speaking of commenting out various @rotation subschemas. I don't
believe I can comment out a subschema with $comment in draft-07--I
haven't tried $comment yet, so someone can prove me wrong.
I haven't change the X3D JSON schema, re: #comment. Sorry for the
confusion.
John
On 4/2/21 11:04 PM, Don Brutzman wrote:
> 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
More information about the x3d-public
mailing list