[x3d-public] This file does not pass X3D JSON schema. Fix X3dToJson.xslt orschema.

John Carlson yottzumm at gmail.com
Wed Mar 21 16:09:17 PDT 2018


Per file:///C:/users/coderextreme/X3D/ISO-IEC%2019776/ISO-IEC%2019776-5/ISO-IEC%2019776-5%20V3.3/ISO-IEC%2019776-5%20V3.3%20WD1/index.html

[ JSON Encoding standard draft ]

IMPORT should look like:

"IMPORT": [
   {
      "@AS": "myNodeAlias",
      "@importedDEF": "myImportNode",
      "@inlineDEF": "myInline"
   }
]

Please update X3dToJson.xslt to match.  I will try to update DOM2JSONSerializer.js.  I don’t believe the schema or standard need to be updated, but I could be wrong.

John
Sent from Mail for Windows 10

From: John Carlson
Sent: Wednesday, March 21, 2018 5:17 PM
To: Don Brutzman; x3d-public at web3d.org
Subject: This file does not pass X3D JSON schema. Fix X3dToJson.xslt orschema.

Possibly from zip or sourceforge, not sure.   There’s an issue with import.

File: www.web3d.org/x3d/content/examples/Basic/X3dSpecifications/X3dHeaderPrototypeSyntaxExamples.json
keyword: type
dataPath: X3D > Scene > -children > 18 > IMPORT
value: {"@AS":"someInlineRoot","@importedDEF":"someName","@inlineDEF":"someInline"}
message: should be array
params: {"type":"array"}
file: ../X3DJSONLD/src/main/data/X3dHeaderPrototypeSyntaxExamples.json
version: 3.3

Error:  Errors present

Issue reported to Project *not category* X3D-19776-5 (JSON) in Mantis.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180321/9133bd5c/attachment-0001.html>


More information about the x3d-public mailing list