[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 22:01:09 PDT 2021
Correction: I don't believe I can comment out a subschema with $comment
using draft-07
draft-07 schema has been validated against draft-07. Check.
John
On 4/2/21 11:44 PM, John Carlson wrote:
> We were speaking of commenting out various @rotation subschemas. I
> don't believe I can comment out a subschema with $comment using
> 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