[x3d-public] Nearly good news.

John Carlson yottzumm at gmail.com
Tue Nov 23 18:38:33 PST 2021


For example,

Running ant in x3dschema (https://github.com/coderextreme/x3dschema), 
there is more than one warning on several files:

runone:
     [echo] Main 
/c/x3d-code/www.web3d.org/x3d/content/examples/Basic/ChemicalMarkupLanguage/Histamine.json 
with classpath 
.;library.jar;../.m2/repository/org/jruby/joni/joni/2.1.41/joni-2.1.41.jar;../.m2/reposito
ry/org/jruby/jcodings/jcodings/1.0.55/jcodings-1.0.55.jar;../.m2/repository/com/fasterxml/jackson/core/jackson-core/2.12.5/jackson-core-2.12.5.jar;../.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2
.12.5/jackson-annotations-2.12.5.jar;../.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.12.5/jackson-databind-2.12.5.jar;../.m2/repository/com/damnhandy/handy-uri-templates/2.1.8/handy-uri-templates-2
.1.8.jar
     [java] Nov 23, 2021 8:29:37 PM 
net.jimblackler.jsonschemafriend.Schema <init>
     [java] WARNING: No match for 
file:/home/coderextreme/x3dschema/x3d-4.0-JSONSchema.json#/$defs/@geoSystem


I don't know why @geoSystem is being referenced in a Chemical scenegrap, 
so I suspect that the problem is the schema. I don't know if Ajv is 
still reporting the prefix-items issue previously seen, I will try to 
rerun under X3DJSONLD.

I suggest someone else try to reproduce the issue using jimblackler's 
jsonschemafriend tool.

John

On 11/21/21 23:30, John Carlson wrote:
> Notes included below.
>
> On Thu, Nov 18, 2021 at 11:53 AM Brutzman, Donald (Don) (CIV) 
> <brutzman at nps.edu> wrote:
>
>     John, am happy to report that Altova XMLSpy loaded your JSON
>     Schema just fine and reported that it is a valid JSON Schema.
>
>
> Yep.   We need to identify why other schema tools are reporting 
> warnings and get back to authors.
>
>
>     Am seeing some types that don’t look correct (too long, embedded
>     hyphens) such as
>     X3DSingleTextureCoordinateNode-MultiTextureCoordinateSFNode
>
>
> I don’t think it’s an issue?  Not sure.   This is when fields have a 
> list of acceptable types in X3DUOM but please confirm.
>
>     Wondering if HelloWorld.json is a primary test case, we could ask
>     XMLSpy to validate that next when you are ready.
>
>
> Let’s try to meet tomorrow.  If at first we don’t succeed, try, try, 
> again.
>
> I can’t recall my meeting notes.
>
>     Congratulations on excellent progress, looking forward to
>     continued testing.
>
>     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 https://
>     faculty.nps.edu/brutzman <http://faculty.nps.edu/brutzman>
>
>     *From:* x3d-public <x3d-public-bounces at web3d.org> *On Behalf Of
>     *John Carlson
>     *Sent:* Thursday, November 18, 2021 1:59 AM
>     *To:* X3D Graphics public mailing list <x3d-public at web3d.org>
>     *Subject:* [x3d-public] Nearly good news.
>
>     util.js:175 strict mode: "prefixItems" is 2-tuple, but minItems or
>     maxItems/items are not specified or different at path
>     "#/$defs/@geoSystem/oneOf/0"
>     util.js:175 strict mode: "prefixItems" is 2-tuple, but minItems or
>     maxItems/items are not specified or different at path
>     "#/$defs/@geoSystem/oneOf/1"
>     util.js:175 strict mode: "prefixItems" is 2-tuple, but minItems or
>     maxItems/items are not specified or different at path
>     "#/oneOf/1/properties/%40type"
>     util.js:175 strict mode: "prefixItems" is 3-tuple, but minItems or
>     maxItems/items are not specified or different at path
>     "#/oneOf/1/properties/%40avatarSize"
>     util.js:175 strict mode: "prefixItems" is 4-tuple, but minItems or
>     maxItems/items are not specified or different at path
>     "#/$defs/@geoSystem/oneOf/2"
>     util.js:175 strict mode: "prefixItems" is 4-tuple, but minItems or
>     maxItems/items are not specified or different at path
>     "#/$defs/@geoSystem/oneOf/3"
>     util.js:175 strict mode: "prefixItems" is 4-tuple, but minItems or
>     maxItems/items are not specified or different at path
>     "#/$defs/@geoSystem/oneOf/4"
>     util.js:175 strict mode: "prefixItems" is 4-tuple, but minItems or
>     maxItems/items are not specified or different at path
>     "#/$defs/@geoSystem/oneOf/5"
>     util.js:175 strict mode: "prefixItems" is 4-tuple, but minItems or
>     maxItems/items are not specified or different at path
>     "#/$defs/@geoSystem/oneOf/6"
>     util.js:175 strict mode: "prefixItems" is 4-tuple, but minItems or
>     maxItems/items are not specified or different at path
>     "#/$defs/@geoSystem/oneOf/7"
>     util.js:175 strict mode: "prefixItems" is 4-tuple, but minItems or
>     maxItems/items are not specified or different at path
>     "#/oneOf/1/properties/%40clipBoundary"
>     util.js:175 strict mode: "prefixItems" is 4-tuple, but minItems or
>     maxItems/items are not specified or different at path
>     "#/oneOf/1/properties/%40fieldOfView"
>     util.js:175 strict mode: "prefixItems" is 4-tuple, but minItems or
>     maxItems/items are not specified or different at path
>     "#/oneOf/1/properties/%40jointBindingRotatio
>     ns"
>     util.js:175 strict mode: "prefixItems" is 4-tuple, but minItems or
>     maxItems/items are not specified or different at path
>     "#/oneOf/1/properties/%40orientation"
>     util.js:175 strict mode: "prefixItems" is 6-tuple, but minItems or
>     maxItems/items are not specified or different at path
>     "#/oneOf/1/properties/%40spine"
>     util.js:175 strict mode: "prefixItems" is 9-tuple, but minItems or
>     maxItems/items are not specified or different at path
>     "#/oneOf/1/properties/%40inertia"
>     util.js:175 strict mode: "prefixItems" is 10-tuple, but minItems
>     or maxItems/items are not specified or different at path
>     "#/oneOf/1/properties/%40crossSection"
>     util.js:175 strict mode: "prefixItems" is 16-tuple, but minItems
>     or maxItems/items are not specified or different at path
>     "#/oneOf/1/properties/%40matrix"
>
>     I am getting farther along with Ajv, successfully using it and
>     ajv-formats on 2 web pages. Apparently, Ajv is finding problems
>     above with the X3D4 JSON schema, which is here:
>
>     https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/schema/x3d-4.0-JSONSchema.json
>     <https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcoderextreme%2FX3DJSONLD%2Fblob%2Fmaster%2Fsrc%2Fmain%2Fschema%2Fx3d-4.0-JSONSchema.json&data=04%7C01%7Cbrutzman%40nps.edu%7C16ae8089ed774aa8a7fa08d9aa7a33f8%7C6d936231a51740ea9199f7578963378e%7C0%7C0%7C637728265026556775%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=1PnOg52zOsQzMZXeHkxcZDBIiy5kmtdDryJUm7qzBeY%3D&reserved=0>
>
>     JSON schema information is on the https://json-schema.org
>     <https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fjson-schema.org%2F&data=04%7C01%7Cbrutzman%40nps.edu%7C16ae8089ed774aa8a7fa08d9aa7a33f8%7C6d936231a51740ea9199f7578963378e%7C0%7C0%7C637728265026556775%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=07qmhBLULNz2qIAAxuz80K5sG80xTSajmrVSDm48dZw%3D&reserved=0>
>     site
>
>     If someone could look into this, it would be appreciated greatly! 
>     We're nearly there for a production deployment of X3D4 JSON schema
>     supporting JSON schema draft 2020-12 in X3DJSONLD, I just need to
>     check various command line stuff to make sure it's still working,
>     and then I'll check X3DJSONLD in and release!
>
>     John
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20211123/d13bef7b/attachment-0001.html>


More information about the x3d-public mailing list