[x3d-public] Cobweb Examples failing XML to JSON translation: omitting name for ProtoInstance USE
Don Brutzman
brutzman at nps.edu
Wed Jul 19 00:17:58 PDT 2017
Thanks for followup. The discussion on omitting name for ProtoInstance USE in last week's working group teleconference was very helpful. Points of interest:
a. Since the various encodings are designed to have equivalent expressive power and lossless round-trip conversions, it makes sense to have the same information requirements in each.
b. ClassicVRML encoding doesn't require name. USE is sufficient to uniquely identify a ProtoInstance.
c. XML encoding (schema/DTD) currently requires ProtoInstance name. This would have to change to match (s). Only downside: constructs like <ProtoInstance/> can get through XML DTD/Schema without validation errors, but would be caught by other validation tools (such as X3D Schematron).
d. Similarly JSON encoding would need to match.
Hopefully this is a good summary of discussions so far, and makes sense too. Good topic to get group agreement upon during tomorrow's call, if possible.
- Also need to update Mantis issue(s) to match the issue resolution.
- Also need to retract Titania issue 18 if we resolve the issue in this manner.
https://github.com/create3000/titania/issues/18
- Also apply correction to X3D XML DTD, Schema, X3D-Edit, X3DJSAIL and X3D Tooltips.
- Also need to update X3D Tidy to perform a cleanup of the name field for ProtoInstance USE.
Next, something important to recheck please: am not seeing explicit definition of DEF nodeNameId associated with PROTO statement for ClassicVRML encoding in the formal grammar. Excerpts follow.
=============================================
Extensible 3D (X3D) encodings, Part 2: Classic VRML encoding, Annex A (normative) Grammar
http://www.web3d.org/documents/specifications/19776-2/V3.3/Part02/grammar.html
[...]
A.1.2 Overview
"It is not possible to parse X3D files using a context-free grammar. Semantic knowledge of the names and types of fields (either built-in or user-defined using PROTO or EXTERNPROTO) shall be used during parsing so that the parser knows which field type is being parsed."
[...]
statement ::=
nodeStatement |
importStatement |
exportStatement |
protoStatement |
routeStatement ;
nodeStatement ::=
node |
DEF nodeNameId node |
USE nodeNameId ;
rootNodeStatement ::=
node | DEF nodeNameId node ;
protoStatement ::=
proto |
externproto ;
protoStatements ::=
protoStatement |
protoStatement protoStatements |
empty ;
proto ::=
PROTO nodeTypeId [ interfaceDeclarations ] { protoBody } ;
[...]
A.3 Nodes
node ::=
nodeTypeId { nodeBody } |
Script { scriptBody } |
ComposedShader {composedShaderBody} |
PackagedShader {packagedShaderBody} |
ShaderProgram {shaderProgramBody} ;
[...]
=============================================
I suspect we might need to insert "and nodes" in the first quoted sentence above, as follows.
A.1.2 Overview
"It is not possible to parse X3D files using a context-free grammar. Semantic knowledge of the names and types of fields *and nodes* (either built-in or user-defined using PROTO or EXTERNPROTO) shall be used during parsing so that the parser knows which field type is being parsed."
On 7/18/2017 7:14 AM, Roy Walmsley wrote:
> Hi John,
>
> As requested, here is my response from Skype.
>
> Yes, it does. So it will need slightly modified JSON schema, or will it? USE refers to the DEF name. Assume we have a Prototype declaration, named myProto. Then we have a ProtoInstance, with attributes 'name' of "myProto" and DEF of "myProtoInstance". Now we can have another ProtoInstance with 'USE' of "myProtoInstance". So the same rules apply. ProtoInstance can have a "USE" with no other attributes, or it can have other attributes without a "USE". So, the same rule applies as for other nodes.
>
> Don and I have had some discussions on this, but we haven’t reached consensus yet.
>
> All the best,
>
> Roy
>
> *From:*John Carlson [mailto:yottzumm at gmail.com]
> *Sent:* 18 July 2017 09:00
> *To:* Don Brutzman <brutzman at nps.edu>; Holger Seelig <holger.seelig at yahoo.de>; Roy Walmsley <roy.walmsley at ntlworld.com>
> *Cc:* X3D Graphics public mailing list <x3d-public at web3d.org>
> *Subject:* RE: Cobweb Examples failing XML to JSON translation
>
> I’m getting conflicting answers from Roy and Don re: requiring ProtoInstance name attribute when USE is present in JSON schema. Can we resolve?
>
> Roy, can you include your message you skyped? Thanks!
>
>
> Thanks,
>
> John
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
>
> *From: *Don Brutzman <mailto:brutzman at nps.edu>
> *Sent: *Monday, July 10, 2017 12:48 AM
> *To: *Holger Seelig <mailto:holger.seelig at yahoo.de>; John Carlson <mailto:yottzumm at gmail.com>
> *Cc: *Roy Walmsley <mailto:roy.walmsley at ntlworld.com>; X3D Graphics public mailing list <mailto:x3d-public at web3d.org>
> *Subject: *Re: Cobweb Examples failing XML to JSON translation
>
> [cc: x3d-public]
>
> On 7/9/2017 4:43 PM, Don Brutzman wrote:
>
>> Thanks [John and Holger] for these error examples from late May. Apologies that Web3D 2017 Conference and a bunch of subsequent commitments prevented earlier debugging.
>
>>
>
>> Am taking small steps. First fix: attached, omit excess comma prior to #sourceText when Script node has no other non-default attributes.
>
>>
>
>> test/BadJsonFromCobweb/Examples/Appartment/index.x3d
>
>>
>
>> Now checking in individual X3dToJson.xslt fixes as these corrections proceed, will report when collected example archives and X3DJSAIL are also updated.
>
>>
>
>> Onward we go... Your patience and persistence is much appreciated!
>
> More fixes tonight: I think that the "," whitespace-comma-separator issues in X3dToJson.xslt are finally resolved... As expected, this was a quite tricky refactoring of MFString recursion algorithm, and so I want to do more regression testing before checking in stylesheet updates.
>
> I will run the updated X3dToJson.xslt stylesheet against all the X3D Example Archives next.
>
> Meanwhile there are two types of ProtoInstance problems in the Cobweb examples, apparently needing Titania output-serialization fixes:
>
> a. ProtoInstance name attribute is always required (for fast parsing). Thus for ICTS/stage/index__2.x3d
>
> <ProtoInstance USE='avp1_1'/>
>
> should be
>
> <ProtoInstance name='AutoViewpoint' USE='avp1_1'/>
>
> etc.
>
> b. Incorrect construct for ProtoInstance containerField. See DLMF/21.4.F1a.x3d:
>
> <Appearance >
>
> <texture><ProtoInstance name="pixelTexture_modlegend" ></ProtoInstance></texture>
>
> </Appearance>
>
> should be
>
> <Appearance >
>
> <ProtoInstance name="pixelTexture_modlegend" containerField='texture'/>
>
> </Appearance>
>
> or, using equivalent paired open/close tags,
>
> <Appearance >
>
> <ProtoInstance name="pixelTexture_modlegend" containerField='texture'></ProtoInstance>
>
> </Appearance>
>
> etc.
>
> Next. Cobweb examples conversion console log follows, looks like these two error types correspond to each of the errors found.
>
> =======================================================================================
>
> ant -f C:\\x3d-code\\www.web3d.org\\x3d\\stylesheets test.X3dToJson.CobwebExamples.xslt
>
> test.mkdir:
>
> test.X3dToJson.CobwebExamples.xslt:
>
> translation input: test/BadJsonFromCobweb/Examples/ICTS/stage/index__2.x3d
>
> ..expected output: test/BadJsonFromCobweb/Examples/ICTS/stage/index__2.fixed.json
>
> Script DEF=_enterWorldScript contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=_saveSFInt32 contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> ..error checking with jslint
>
> jslint:test/BadJsonFromCobweb/Examples/ICTS/stage/index__2.fixed.json:4609:125:JavaScript URL.
>
> jslint:test/BadJsonFromCobweb/Examples/ICTS/stage/index__2.fixed.json:6764:125:JavaScript URL.
>
> jslint:test/BadJsonFromCobweb/Examples/ICTS/stage/index__2.fixed.json:8193:34:JavaScript URL.
>
> Java Result: 1
>
> ..error checking with json-schema-validator
>
> --- BEGIN C:\x3d-code\www.web3d.org\x3d\stylesheets\test\BadJsonFromCobweb\Examples\ICTS\stage\index__2.fixed.json---
>
> validation: FAILURE
>
> [ {
>
> "level" : "error",
>
> "schema" : {
>
> "loadingURI" : "file:/C:/x3d-code/www.web3d.org/specifications/x3d-3.3-JSONSchema.json#",
>
> "pointer" : "/definitions/ProtoInstance"
>
> },
>
> "instance" : {
>
> "pointer" : "/X3D/Scene/-children/24/Transform/-children/0/Transform/-children/0/LOD/-children/0/Transform/-children/1/Transform/-children/1/Transform/-children/0/ProtoInstance/fieldValue/1/-children/0/ProtoInstance"
>
> },
>
> "domain" : "validation",
>
> "keyword" : "required",
>
> "message" : "object has missing required properties ([\"@name\"])",
>
> "required" : [ "@name" ],
>
> "missing" : [ "@name" ]
>
> }, {
>
> "level" : "error",
>
> "schema" : {
>
> "loadingURI" : "file:/C:/x3d-code/www.web3d.org/specifications/x3d-3.3-JSONSchema.json#",
>
> "pointer" : "/definitions/ProtoInstance"
>
> },
>
> "instance" : {
>
> "pointer" : "/X3D/Scene/-children/24/Transform/-children/0/Transform/-children/0/LOD/-children/0/Transform/-children/1/Transform/-children/1/Transform/-children/0/ProtoInstance/fieldValue/1/-children/1/ProtoInstance"
>
> },
>
> "domain" : "validation",
>
> "keyword" : "required",
>
> "message" : "object has missing required properties ([\"@name\"])",
>
> "required" : [ "@name" ],
>
> "missing" : [ "@name" ]
>
> }, {
>
> "level" : "error",
>
> "schema" : {
>
> "loadingURI" : "file:/C:/x3d-code/www.web3d.org/specifications/x3d-3.3-JSONSchema.json#",
>
> "pointer" : "/definitions/ProtoInstance"
>
> },
>
> "instance" : {
>
> "pointer" : "/X3D/Scene/-children/24/Transform/-children/0/Transform/-children/0/LOD/-children/0/Transform/-children/1/Transform/-children/1/Transform/-children/0/ProtoInstance/fieldValue/1/-children/2/ProtoInstance"
>
> },
>
> "domain" : "validation",
>
> "keyword" : "required",
>
> "message" : "object has missing required properties ([\"@name\"])",
>
> "required" : [ "@name" ],
>
> "missing" : [ "@name" ]
>
> }, {
>
> "level" : "error",
>
> "schema" : {
>
> "loadingURI" : "file:/C:/x3d-code/www.web3d.org/specifications/x3d-3.3-JSONSchema.json#",
>
> "pointer" : "/definitions/ProtoInstance"
>
> },
>
> "instance" : {
>
> "pointer" : "/X3D/Scene/-children/24/Transform/-children/0/Transform/-children/0/LOD/-children/0/Transform/-children/1/Transform/-children/1/Transform/-children/0/ProtoInstance/fieldValue/1/-children/3/ProtoInstance"
>
> },
>
> "domain" : "validation",
>
> "keyword" : "required",
>
> "message" : "object has missing required properties ([\"@name\"])",
>
> "required" : [ "@name" ],
>
> "missing" : [ "@name" ]
>
> }, {
>
> "level" : "error",
>
> "schema" : {
>
> "loadingURI" : "file:/C:/x3d-code/www.web3d.org/specifications/x3d-3.3-JSONSchema.json#",
>
> "pointer" : "/definitions/ProtoInstance"
>
> },
>
> "instance" : {
>
> "pointer" : "/X3D/Scene/-children/24/Transform/-children/0/Transform/-children/0/LOD/-children/0/Transform/-children/1/Transform/-children/1/Transform/-children/0/ProtoInstance/fieldValue/1/-children/4/ProtoInstance"
>
> },
>
> "domain" : "validation",
>
> "keyword" : "required",
>
> "message" : "object has missing required properties ([\"@name\"])",
>
> "required" : [ "@name" ],
>
> "missing" : [ "@name" ]
>
> }, {
>
> "level" : "error",
>
> "schema" : {
>
> "loadingURI" : "file:/C:/x3d-code/www.web3d.org/specifications/x3d-3.3-JSONSchema.json#",
>
> "pointer" : "/definitions/ProtoInstance"
>
> },
>
> "instance" : {
>
> "pointer" : "/X3D/Scene/-children/24/Transform/-children/0/Transform/-children/0/LOD/-children/0/Transform/-children/1/Transform/-children/1/Transform/-children/0/ProtoInstance/fieldValue/1/-children/5/ProtoInstance"
>
> },
>
> "domain" : "validation",
>
> "keyword" : "required",
>
> "message" : "object has missing required properties ([\"@name\"])",
>
> "required" : [ "@name" ],
>
> "missing" : [ "@name" ]
>
> }, {
>
> "level" : "error",
>
> "schema" : {
>
> "loadingURI" : "file:/C:/x3d-code/www.web3d.org/specifications/x3d-3.3-JSONSchema.json#",
>
> "pointer" : "/definitions/ProtoInstance"
>
> },
>
> "instance" : {
>
> "pointer" : "/X3D/Scene/-children/24/Transform/-children/0/Transform/-children/0/LOD/-children/0/Transform/-children/1/Transform/-children/1/Transform/-children/0/ProtoInstance/fieldValue/1/-children/6/ProtoInstance"
>
> },
>
> "domain" : "validation",
>
> "keyword" : "required",
>
> "message" : "object has missing required properties ([\"@name\"])",
>
> "required" : [ "@name" ],
>
> "missing" : [ "@name" ]
>
> }, {
>
> "level" : "error",
>
> "schema" : {
>
> "loadingURI" : "file:/C:/x3d-code/www.web3d.org/specifications/x3d-3.3-JSONSchema.json#",
>
> "pointer" : "/definitions/ProtoInstance"
>
> },
>
> "instance" : {
>
> "pointer" : "/X3D/Scene/-children/24/Transform/-children/0/Transform/-children/0/LOD/-children/0/Transform/-children/1/Transform/-children/1/Transform/-children/0/ProtoInstance/fieldValue/1/-children/7/ProtoInstance"
>
> },
>
> "domain" : "validation",
>
> "keyword" : "required",
>
> "message" : "object has missing required properties ([\"@name\"])",
>
> "required" : [ "@name" ],
>
> "missing" : [ "@name" ]
>
> }, {
>
> "level" : "error",
>
> "schema" : {
>
> "loadingURI" : "file:/C:/x3d-code/www.web3d.org/specifications/x3d-3.3-JSONSchema.json#",
>
> "pointer" : "/definitions/ProtoInstance"
>
> },
>
> "instance" : {
>
> "pointer" : "/X3D/Scene/-children/24/Transform/-children/0/Transform/-children/0/LOD/-children/0/Transform/-children/1/Transform/-children/1/Transform/-children/0/ProtoInstance/fieldValue/1/-children/8/ProtoInstance"
>
> },
>
> "domain" : "validation",
>
> "keyword" : "required",
>
> "message" : "object has missing required properties ([\"@name\"])",
>
> "required" : [ "@name" ],
>
> "missing" : [ "@name" ]
>
> }, {
>
> "level" : "error",
>
> "schema" : {
>
> "loadingURI" : "file:/C:/x3d-code/www.web3d.org/specifications/x3d-3.3-JSONSchema.json#",
>
> "pointer" : "/definitions/ProtoInstance"
>
> },
>
> "instance" : {
>
> "pointer" : "/X3D/Scene/-children/24/Transform/-children/0/Transform/-children/0/LOD/-children/0/Transform/-children/1/Transform/-children/1/Transform/-children/0/ProtoInstance/fieldValue/1/-children/9/ProtoInstance"
>
> },
>
> "domain" : "validation",
>
> "keyword" : "required",
>
> "message" : "object has missing required properties ([\"@name\"])",
>
> "required" : [ "@name" ],
>
> "missing" : [ "@name" ]
>
> }, {
>
> "level" : "error",
>
> "schema" : {
>
> "loadingURI" : "file:/C:/x3d-code/www.web3d.org/specifications/x3d-3.3-JSONSchema.json#",
>
> "pointer" : "/definitions/ProtoInstance"
>
> },
>
> "instance" : {
>
> "pointer" : "/X3D/Scene/-children/24/Transform/-children/0/Transform/-children/0/LOD/-children/0/Transform/-children/8/Transform/-children/2/Transform/-children/1/Transform/-children/0/Switch/-children/4/Transform/-children/3/Transform/-children/6/Transform/-children/0/ProtoInstance/fieldValue/0/-children/0/ProtoInstance"
>
> },
>
> "domain" : "validation",
>
> "keyword" : "required",
>
> "message" : "object has missing required properties ([\"@name\"])",
>
> "required" : [ "@name" ],
>
> "missing" : [ "@name" ]
>
> }, {
>
> "level" : "error",
>
> "schema" : {
>
> "loadingURI" : "file:/C:/x3d-code/www.web3d.org/specifications/x3d-3.3-JSONSchema.json#",
>
> "pointer" : "/definitions/ProtoInstance"
>
> },
>
> "instance" : {
>
> "pointer" : "/X3D/Scene/-children/26/Transform/-children/0/Script/field/5/-children/0/ProtoInstance"
>
> },
>
> "domain" : "validation",
>
> "keyword" : "required",
>
> "message" : "object has missing required properties ([\"@name\"])",
>
> "required" : [ "@name" ],
>
> "missing" : [ "@name" ]
>
> }, {
>
> "level" : "error",
>
> "schema" : {
>
> "loadingURI" : "file:/C:/x3d-code/www.web3d.org/specifications/x3d-3.3-JSONSchema.json#",
>
> "pointer" : "/definitions/ProtoInstance"
>
> },
>
> "instance" : {
>
> "pointer" : "/X3D/Scene/-children/26/Transform/-children/0/Script/field/5/-children/1/ProtoInstance"
>
> },
>
> "domain" : "validation",
>
> "keyword" : "required",
>
> "message" : "object has missing required properties ([\"@name\"])",
>
> "required" : [ "@name" ],
>
> "missing" : [ "@name" ]
>
> }, {
>
> "level" : "error",
>
> "schema" : {
>
> "loadingURI" : "file:/C:/x3d-code/www.web3d.org/specifications/x3d-3.3-JSONSchema.json#",
>
> "pointer" : "/definitions/ProtoInstance"
>
> },
>
> "instance" : {
>
> "pointer" : "/X3D/Scene/-children/26/Transform/-children/0/Script/field/5/-children/2/ProtoInstance"
>
> },
>
> "domain" : "validation",
>
> "keyword" : "required",
>
> "message" : "object has missing required properties ([\"@name\"])",
>
> "required" : [ "@name" ],
>
> "missing" : [ "@name" ]
>
> } ]
>
> --- END C:\x3d-code\www.web3d.org\x3d\stylesheets\test\BadJsonFromCobweb\Examples\ICTS\stage\index__2.fixed.json---
>
> Java Result: 100
>
> =====================================
>
> translation input: test/BadJsonFromCobweb/Examples/Appartment/index.x3d
>
> ..expected output: test/BadJsonFromCobweb/Examples/Appartment/index.fixed.json
>
> Script contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> ..error checking with jslint
>
> ..error checking with json-schema-validator
>
> --- BEGIN C:\x3d-code\www.web3d.org\x3d\stylesheets\test\BadJsonFromCobweb\Examples\Appartment\index.fixed.json---
>
> validation: SUCCESS
>
> --- END C:\x3d-code\www.web3d.org\x3d\stylesheets\test\BadJsonFromCobweb\Examples\Appartment\index.fixed.json---
>
> =====================================
>
> translation input: test/BadJsonFromCobweb/Examples/BIC/index.x3d
>
> ..expected output: test/BadJsonFromCobweb/Examples/BIC/index.fixed.json
>
> Script contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> ..error checking with jslint
>
> ..error checking with json-schema-validator
>
> --- BEGIN C:\x3d-code\www.web3d.org\x3d\stylesheets\test\BadJsonFromCobweb\Examples\BIC\index.fixed.json---
>
> validation: SUCCESS
>
> --- END C:\x3d-code\www.web3d.org\x3d\stylesheets\test\BadJsonFromCobweb\Examples\BIC\index.fixed.json---
>
> =====================================
>
> translation input: test/BadJsonFromCobweb/Examples/BIC/building.x3d
>
> ..expected output: test/BadJsonFromCobweb/Examples/BIC/building.fixed.json
>
> Script contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> ..error checking with jslint
>
> ..error checking with json-schema-validator
>
> --- BEGIN C:\x3d-code\www.web3d.org\x3d\stylesheets\test\BadJsonFromCobweb\Examples\BIC\building.fixed.json---
>
> validation: SUCCESS
>
> --- END C:\x3d-code\www.web3d.org\x3d\stylesheets\test\BadJsonFromCobweb\Examples\BIC\building.fixed.json---
>
> =====================================
>
> translation input: test/BadJsonFromCobweb/Examples/BIC/buero.x3d
>
> ..expected output: test/BadJsonFromCobweb/Examples/BIC/buero.fixed.json
>
> Script contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> ..error checking with jslint
>
> ..error checking with json-schema-validator
>
> --- BEGIN C:\x3d-code\www.web3d.org\x3d\stylesheets\test\BadJsonFromCobweb\Examples\BIC\buero.fixed.json---
>
> validation: SUCCESS
>
> --- END C:\x3d-code\www.web3d.org\x3d\stylesheets\test\BadJsonFromCobweb\Examples\BIC\buero.fixed.json---
>
> =====================================
>
> translation input: test/BadJsonFromCobweb/Examples/Chomp/canyonv.x3d
>
> ..expected output: test/BadJsonFromCobweb/Examples/Chomp/canyonv.fixed.json
>
> Script contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> ..error checking with jslint
>
> jslint:test/BadJsonFromCobweb/Examples/Chomp/canyonv.fixed.json:113:1:JavaScript URL.
>
> Java Result: 1
>
> ..error checking with json-schema-validator
>
> --- BEGIN C:\x3d-code\www.web3d.org\x3d\stylesheets\test\BadJsonFromCobweb\Examples\Chomp\canyonv.fixed.json---
>
> validation: SUCCESS
>
> --- END C:\x3d-code\www.web3d.org\x3d\stylesheets\test\BadJsonFromCobweb\Examples\Chomp\canyonv.fixed.json---
>
> =====================================
>
> translation input: test/BadJsonFromCobweb/Examples/DLMF/21.4.F1a.x3d
>
> ..expected output: test/BadJsonFromCobweb/Examples/DLMF/21.4.F1a.fixed.json
>
> Error: IllegalChildNodeFieldNameNotFound no containerField or field name found for the X3D JSON object. Check spelling of node.
>
> $elementName=texture, $parentName=Appearance
>
> Please report this error to x3d-public at web3d.org <mailto:x3d-public at web3d.org> - thanks for your help improving X3D Quality Assurance (QA).
>
> Error: IllegalChildNodeFieldNameNotFound no containerField or field name found for the X3D JSON object. Check spelling of node.
>
> $elementName=texture, $parentName=Appearance
>
> Please report this error to x3d-public at web3d.org <mailto:x3d-public at web3d.org> - thanks for your help improving X3D Quality Assurance (QA).
>
> Error: IllegalChildNodeFieldNameNotFound no containerField or field name found for the X3D JSON object. Check spelling of node.
>
> $elementName=texture, $parentName=Appearance
>
> Please report this error to x3d-public at web3d.org <mailto:x3d-public at web3d.org> - thanks for your help improving X3D Quality Assurance (QA).
>
> Script DEF=SCRIPT_Slider contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=SCRIPT_Scale contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=SCRIPT_Axes contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=SCRIPT_Control contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=SCRIPT_Sml contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=SCRIPT_Dash contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=SCRIPT_Color contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=SCRIPT_Main contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=ADD_LINE contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=SCRIPT_Surf contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=SCRIPT_Axeslabels contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=SCRIPT_MS contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=SCRIPT_VIEWER contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> ..error checking with jslint
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/21.4.F1a.fixed.json:750:60:Expected '}' to match '{' from line 749 and instead saw ':'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/21.4.F1a.fixed.json:750:61:Expected ']' to match '[' from line 748 and instead saw '['.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/21.4.F1a.fixed.json:751:51:Expected '}' to match '{' from line 747 and instead saw '{'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/21.4.F1a.fixed.json:751:53:Expected '}' to match '{' from line 746 and instead saw 'ProtoInstance'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/21.4.F1a.fixed.json:751:68:Expected '}' to match '{' from line 744 and instead saw ':'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/21.4.F1a.fixed.json:752:53:Expected '}' to match '{' from line 743 and instead saw '{'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/21.4.F1a.fixed.json:753:55:Expected ']' to match '[' from line 737 and instead saw '@name'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/21.4.F1a.fixed.json:753:62:Expected '}' to match '{' from line 735 and instead saw ':'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/21.4.F1a.fixed.json:753:63:Expected '}' to match '{' from line 734 and instead saw 'pixelTexture_modlegend'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/21.4.F1a.fixed.json:754:53:Expected ']' to match '[' from line 733 and instead saw '}'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/21.4.F1a.fixed.json:756:49:Expected '}' to match '{' from line 719 and instead saw ']'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/21.4.F1a.fixed.json:757:45:Expected ']' to match '[' from line 718 and instead saw '}'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/21.4.F1a.fixed.json:758:43:Expected '}' to match '{' from line 717 and instead saw ']'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/21.4.F1a.fixed.json:761:48:Expected ']' to match '[' from line 91 and instead saw ':'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/21.4.F1a.fixed.json:762:39:Expected '}' to match '{' from line 90 and instead saw '{'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/21.4.F1a.fixed.json:762:41:Expected '}' to match '{' from line 1 and instead saw 'IndexedFaceSet'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/21.4.F1a.fixed.json:762:57:Expected '}' to match '{' from line 1 and instead saw ':'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/21.4.F1a.fixed.json:763:41:Expected '(end)' and instead saw '{'.
>
> Java Result: 1
>
> ..error checking with json-schema-validator
>
> Exception in thread "main" com.fasterxml.jackson.core.JsonParseException: Unexpected character (':' (code 58)): was expecting comma to separate OBJECT entries
>
> at [Source: C:\x3d-code\www.web3d.org\x3d\stylesheets\test\BadJsonFromCobweb\Examples\DLMF\21.4.F1a.fixed.json; line: 750, column: 61]
>
> at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1369)
>
> at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:532)
>
> at com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:453)
>
> at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.nextToken(UTF8StreamJsonParser.java:655)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:199)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeArray(JsonNodeDeserializer.java:235)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:207)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:204)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:204)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:204)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeArray(JsonNodeDeserializer.java:235)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:207)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:204)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeArray(JsonNodeDeserializer.java:235)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:207)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:204)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeArray(JsonNodeDeserializer.java:235)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:207)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:204)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:204)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeArray(JsonNodeDeserializer.java:235)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:207)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:204)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:204)
>
> at com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:59)
>
> at com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:15)
>
> at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2888)
>
> at com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:1778)
>
> at com.github.fge.jsonschema.main.cli.Main.doValidation(Main.java:193)
>
> at com.github.fge.jsonschema.main.cli.Main.proceed(Main.java:151)
>
> at com.github.fge.jsonschema.main.cli.Main.main(Main.java:128)
>
> Java Result: 1
>
> =====================================
>
> translation input: test/BadJsonFromCobweb/Examples/DLMF/5.3.F4.x3d
>
> ..expected output: test/BadJsonFromCobweb/Examples/DLMF/5.3.F4.fixed.json
>
> Error: IllegalChildNodeFieldNameNotFound no containerField or field name found for the X3D JSON object. Check spelling of node.
>
> $elementName=texture, $parentName=Appearance
>
> Please report this error to x3d-public at web3d.org <mailto:x3d-public at web3d.org> - thanks for your help improving X3D Quality Assurance (QA).
>
> Error: IllegalChildNodeFieldNameNotFound no containerField or field name found for the X3D JSON object. Check spelling of node.
>
> $elementName=texture, $parentName=Appearance
>
> Please report this error to x3d-public at web3d.org <mailto:x3d-public at web3d.org> - thanks for your help improving X3D Quality Assurance (QA).
>
> Error: IllegalChildNodeFieldNameNotFound no containerField or field name found for the X3D JSON object. Check spelling of node.
>
> $elementName=texture, $parentName=Appearance
>
> Please report this error to x3d-public at web3d.org <mailto:x3d-public at web3d.org> - thanks for your help improving X3D Quality Assurance (QA).
>
> Script DEF=SCRIPT_Slider contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=SCRIPT_Scale contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=SCRIPT_Axes contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=SCRIPT_Control contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=SCRIPT_Sml contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=SCRIPT_Dash contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=SCRIPT_Color contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=SCRIPT_Main contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=ADD_LINE contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=SCRIPT_Surf contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=SCRIPT_Axeslabels contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=SCRIPT_MS contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=SCRIPT_VIEWER contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> ..error checking with jslint
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/5.3.F4.fixed.json:750:60:Expected '}' to match '{' from line 749 and instead saw ':'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/5.3.F4.fixed.json:750:61:Expected ']' to match '[' from line 748 and instead saw '['.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/5.3.F4.fixed.json:751:51:Expected '}' to match '{' from line 747 and instead saw '{'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/5.3.F4.fixed.json:751:53:Expected '}' to match '{' from line 746 and instead saw 'ProtoInstance'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/5.3.F4.fixed.json:751:68:Expected '}' to match '{' from line 744 and instead saw ':'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/5.3.F4.fixed.json:752:53:Expected '}' to match '{' from line 743 and instead saw '{'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/5.3.F4.fixed.json:753:55:Expected ']' to match '[' from line 737 and instead saw '@name'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/5.3.F4.fixed.json:753:62:Expected '}' to match '{' from line 735 and instead saw ':'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/5.3.F4.fixed.json:753:63:Expected '}' to match '{' from line 734 and instead saw 'pixelTexture_modlegend'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/5.3.F4.fixed.json:754:53:Expected ']' to match '[' from line 733 and instead saw '}'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/5.3.F4.fixed.json:756:49:Expected '}' to match '{' from line 719 and instead saw ']'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/5.3.F4.fixed.json:757:45:Expected ']' to match '[' from line 718 and instead saw '}'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/5.3.F4.fixed.json:758:43:Expected '}' to match '{' from line 717 and instead saw ']'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/5.3.F4.fixed.json:761:48:Expected ']' to match '[' from line 91 and instead saw ':'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/5.3.F4.fixed.json:762:39:Expected '}' to match '{' from line 90 and instead saw '{'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/5.3.F4.fixed.json:762:41:Expected '}' to match '{' from line 1 and instead saw 'IndexedFaceSet'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/5.3.F4.fixed.json:762:57:Expected '}' to match '{' from line 1 and instead saw ':'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/5.3.F4.fixed.json:763:41:Expected '(end)' and instead saw '{'.
>
> Java Result: 1
>
> ..error checking with json-schema-validator
>
> Exception in thread "main" com.fasterxml.jackson.core.JsonParseException: Unexpected character (':' (code 58)): was expecting comma to separate OBJECT entries
>
> at [Source: C:\x3d-code\www.web3d.org\x3d\stylesheets\test\BadJsonFromCobweb\Examples\DLMF\5.3.F4.fixed.json; line: 750, column: 61]
>
> at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1369)
>
> at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:532)
>
> at com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:453)
>
> at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.nextToken(UTF8StreamJsonParser.java:655)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:199)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeArray(JsonNodeDeserializer.java:235)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:207)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:204)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:204)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:204)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeArray(JsonNodeDeserializer.java:235)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:207)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:204)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeArray(JsonNodeDeserializer.java:235)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:207)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:204)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeArray(JsonNodeDeserializer.java:235)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:207)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:204)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:204)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeArray(JsonNodeDeserializer.java:235)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:207)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:204)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:204)
>
> at com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:59)
>
> at com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:15)
>
> at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2888)
>
> at com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:1778)
>
> at com.github.fge.jsonschema.main.cli.Main.doValidation(Main.java:193)
>
> at com.github.fge.jsonschema.main.cli.Main.proceed(Main.java:151)
>
> at com.github.fge.jsonschema.main.cli.Main.main(Main.java:128)
>
> Java Result: 1
>
> =====================================
>
> translation input: test/BadJsonFromCobweb/Examples/DLMF/6.3.F3.x3d
>
> ..expected output: test/BadJsonFromCobweb/Examples/DLMF/6.3.F3.fixed.json
>
> Error: IllegalChildNodeFieldNameNotFound no containerField or field name found for the X3D JSON object. Check spelling of node.
>
> $elementName=texture, $parentName=Appearance
>
> Please report this error to x3d-public at web3d.org <mailto:x3d-public at web3d.org> - thanks for your help improving X3D Quality Assurance (QA).
>
> Error: IllegalChildNodeFieldNameNotFound no containerField or field name found for the X3D JSON object. Check spelling of node.
>
> $elementName=texture, $parentName=Appearance
>
> Please report this error to x3d-public at web3d.org <mailto:x3d-public at web3d.org> - thanks for your help improving X3D Quality Assurance (QA).
>
> Error: IllegalChildNodeFieldNameNotFound no containerField or field name found for the X3D JSON object. Check spelling of node.
>
> $elementName=texture, $parentName=Appearance
>
> Please report this error to x3d-public at web3d.org <mailto:x3d-public at web3d.org> - thanks for your help improving X3D Quality Assurance (QA).
>
> Script DEF=SCRIPT_Slider contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=SCRIPT_Scale contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=SCRIPT_Axes contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=SCRIPT_Control contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=SCRIPT_Sml contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=SCRIPT_Dash contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=SCRIPT_Color contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=SCRIPT_Main contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=ADD_LINE contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=SCRIPT_Surf contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=SCRIPT_Axeslabels contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=SCRIPT_MS contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=SCRIPT_VIEWER contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> ..error checking with jslint
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/6.3.F3.fixed.json:750:60:Expected '}' to match '{' from line 749 and instead saw ':'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/6.3.F3.fixed.json:750:61:Expected ']' to match '[' from line 748 and instead saw '['.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/6.3.F3.fixed.json:751:51:Expected '}' to match '{' from line 747 and instead saw '{'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/6.3.F3.fixed.json:751:53:Expected '}' to match '{' from line 746 and instead saw 'ProtoInstance'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/6.3.F3.fixed.json:751:68:Expected '}' to match '{' from line 744 and instead saw ':'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/6.3.F3.fixed.json:752:53:Expected '}' to match '{' from line 743 and instead saw '{'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/6.3.F3.fixed.json:753:55:Expected ']' to match '[' from line 737 and instead saw '@name'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/6.3.F3.fixed.json:753:62:Expected '}' to match '{' from line 735 and instead saw ':'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/6.3.F3.fixed.json:753:63:Expected '}' to match '{' from line 734 and instead saw 'pixelTexture_modlegend'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/6.3.F3.fixed.json:754:53:Expected ']' to match '[' from line 733 and instead saw '}'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/6.3.F3.fixed.json:756:49:Expected '}' to match '{' from line 719 and instead saw ']'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/6.3.F3.fixed.json:757:45:Expected ']' to match '[' from line 718 and instead saw '}'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/6.3.F3.fixed.json:758:43:Expected '}' to match '{' from line 717 and instead saw ']'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/6.3.F3.fixed.json:761:48:Expected ']' to match '[' from line 91 and instead saw ':'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/6.3.F3.fixed.json:762:39:Expected '}' to match '{' from line 90 and instead saw '{'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/6.3.F3.fixed.json:762:41:Expected '}' to match '{' from line 1 and instead saw 'IndexedFaceSet'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/6.3.F3.fixed.json:762:57:Expected '}' to match '{' from line 1 and instead saw ':'.
>
> jslint:test/BadJsonFromCobweb/Examples/DLMF/6.3.F3.fixed.json:763:41:Expected '(end)' and instead saw '{'.
>
> Java Result: 1
>
> ..error checking with json-schema-validator
>
> Exception in thread "main" com.fasterxml.jackson.core.JsonParseException: Unexpected character (':' (code 58)): was expecting comma to separate OBJECT entries
>
> at [Source: C:\x3d-code\www.web3d.org\x3d\stylesheets\test\BadJsonFromCobweb\Examples\DLMF\6.3.F3.fixed.json; line: 750, column: 61]
>
> at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1369)
>
> at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:532)
>
> at com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:453)
>
> at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.nextToken(UTF8StreamJsonParser.java:655)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:199)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeArray(JsonNodeDeserializer.java:235)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:207)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:204)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:204)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:204)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeArray(JsonNodeDeserializer.java:235)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:207)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:204)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeArray(JsonNodeDeserializer.java:235)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:207)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:204)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeArray(JsonNodeDeserializer.java:235)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:207)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:204)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:204)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeArray(JsonNodeDeserializer.java:235)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:207)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:204)
>
> at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:204)
>
> at com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:59)
>
> at com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:15)
>
> at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2888)
>
> at com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:1778)
>
> at com.github.fge.jsonschema.main.cli.Main.doValidation(Main.java:193)
>
> at com.github.fge.jsonschema.main.cli.Main.proceed(Main.java:151)
>
> at com.github.fge.jsonschema.main.cli.Main.main(Main.java:128)
>
> Java Result: 1
>
> =====================================
>
> translation input: test/BadJsonFromCobweb/Examples/Dolphin/index.x3d
>
> ..expected output: test/BadJsonFromCobweb/Examples/Dolphin/index.fixed.json
>
> Script contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> ..error checking with jslint
>
> ..error checking with json-schema-validator
>
> --- BEGIN C:\x3d-code\www.web3d.org\x3d\stylesheets\test\BadJsonFromCobweb\Examples\Dolphin\index.fixed.json---
>
> validation: SUCCESS
>
> --- END C:\x3d-code\www.web3d.org\x3d\stylesheets\test\BadJsonFromCobweb\Examples\Dolphin\index.fixed.json---
>
> =====================================
>
> translation input: test/BadJsonFromCobweb/Examples/ICTS/stage/index__4.x3d
>
> ..expected output: test/BadJsonFromCobweb/Examples/ICTS/stage/index__4.fixed.json
>
> Script DEF=_UserProfiler contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> Script DEF=_enterWorldScript contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> ..error checking with jslint
>
> jslint:test/BadJsonFromCobweb/Examples/ICTS/stage/index__4.fixed.json:1229:71:JavaScript URL.
>
> Java Result: 1
>
> ..error checking with json-schema-validator
>
> --- BEGIN C:\x3d-code\www.web3d.org\x3d\stylesheets\test\BadJsonFromCobweb\Examples\ICTS\stage\index__4.fixed.json---
>
> validation: FAILURE
>
> [ {
>
> "level" : "error",
>
> "schema" : {
>
> "loadingURI" : "file:/C:/x3d-code/www.web3d.org/specifications/x3d-3.3-JSONSchema.json#",
>
> "pointer" : "/definitions/Anchor/properties/@url/items"
>
> },
>
> "instance" : {
>
> "pointer" : "/X3D/Scene/-children/11/Transform/-children/7/Transform/-children/1/Transform/-children/0/Collision/-children/0/Transform/-children/2/Transform/-children/3/Transform/-children/3/Transform/-children/0/Anchor/@url/0"
>
> },
>
> "domain" : "validation",
>
> "keyword" : "format",
>
> "attribute" : "uri",
>
> "message" : "string \"javascript: function tmt_winLaunch(theURL,winName,targetName,features) { eval(winName+\"=window.open('\"+theURL+\"','\"+targetName+\"','\"+features+\"')\") } tmt_winLaunch('profile.cgi', 'Profile','Profile','resizable=yes,width=730,height=548,left=0,top=0');\" is not a valid URI",
>
> "value" : "javascript: function tmt_winLaunch(theURL,winName,targetName,features) { eval(winName+\"=window.open('\"+theURL+\"','\"+targetName+\"','\"+features+\"')\") } tmt_winLaunch('profile.cgi', 'Profile','Profile','resizable=yes,width=730,height=548,left=0,top=0');"
>
> }, {
>
> "level" : "error",
>
> "schema" : {
>
> "loadingURI" : "file:/C:/x3d-code/www.web3d.org/specifications/x3d-3.3-JSONSchema.json#",
>
> "pointer" : "/definitions/ProtoInstance"
>
> },
>
> "instance" : {
>
> "pointer" : "/X3D/Scene/-children/11/Transform/-children/7/Transform/-children/1/Transform/-children/0/Collision/-children/0/Transform/-children/2/Transform/-children/3/Transform/-children/5/Transform/-children/1/Transform/-children/1/Transform/-children/6/Transform/-children/3/Transform/-children/0/ProtoInstance"
>
> },
>
> "domain" : "validation",
>
> "keyword" : "required",
>
> "message" : "object has missing required properties ([\"@name\"])",
>
> "required" : [ "@name" ],
>
> "missing" : [ "@name" ]
>
> }, {
>
> "level" : "error",
>
> "schema" : {
>
> "loadingURI" : "file:/C:/x3d-code/www.web3d.org/specifications/x3d-3.3-JSONSchema.json#",
>
> "pointer" : "/definitions/ProtoInstance"
>
> },
>
> "instance" : {
>
> "pointer" : "/X3D/Scene/-children/11/Transform/-children/7/Transform/-children/1/Transform/-children/0/Collision/-children/0/Transform/-children/2/Transform/-children/3/Transform/-children/5/Transform/-children/1/Transform/-children/1/Transform/-children/6/Transform/-children/4/Transform/-children/0/ProtoInstance"
>
> },
>
> "domain" : "validation",
>
> "keyword" : "required",
>
> "message" : "object has missing required properties ([\"@name\"])",
>
> "required" : [ "@name" ],
>
> "missing" : [ "@name" ]
>
> }, {
>
> "level" : "error",
>
> "schema" : {
>
> "loadingURI" : "file:/C:/x3d-code/www.web3d.org/specifications/x3d-3.3-JSONSchema.json#",
>
> "pointer" : "/definitions/ProtoInstance"
>
> },
>
> "instance" : {
>
> "pointer" : "/X3D/Scene/-children/11/Transform/-children/7/Transform/-children/1/Transform/-children/0/Collision/-children/0/Transform/-children/2/Transform/-children/3/Transform/-children/5/Transform/-children/2/Transform/-children/1/Transform/-children/6/Transform/-children/3/Transform/-children/0/ProtoInstance"
>
> },
>
> "domain" : "validation",
>
> "keyword" : "required",
>
> "message" : "object has missing required properties ([\"@name\"])",
>
> "required" : [ "@name" ],
>
> "missing" : [ "@name" ]
>
> }, {
>
> "level" : "error",
>
> "schema" : {
>
> "loadingURI" : "file:/C:/x3d-code/www.web3d.org/specifications/x3d-3.3-JSONSchema.json#",
>
> "pointer" : "/definitions/ProtoInstance"
>
> },
>
> "instance" : {
>
> "pointer" : "/X3D/Scene/-children/11/Transform/-children/7/Transform/-children/1/Transform/-children/0/Collision/-children/0/Transform/-children/2/Transform/-children/3/Transform/-children/5/Transform/-children/2/Transform/-children/1/Transform/-children/6/Transform/-children/4/Transform/-children/0/ProtoInstance"
>
> },
>
> "domain" : "validation",
>
> "keyword" : "required",
>
> "message" : "object has missing required properties ([\"@name\"])",
>
> "required" : [ "@name" ],
>
> "missing" : [ "@name" ]
>
> }, {
>
> "level" : "error",
>
> "schema" : {
>
> "loadingURI" : "file:/C:/x3d-code/www.web3d.org/specifications/x3d-3.3-JSONSchema.json#",
>
> "pointer" : "/definitions/ProtoInstance"
>
> },
>
> "instance" : {
>
> "pointer" : "/X3D/Scene/-children/11/Transform/-children/7/Transform/-children/1/Transform/-children/0/Collision/-children/0/Transform/-children/2/Transform/-children/3/Transform/-children/5/Transform/-children/3/Transform/-children/1/Transform/-children/6/Transform/-children/3/Transform/-children/0/ProtoInstance"
>
> },
>
> "domain" : "validation",
>
> "keyword" : "required",
>
> "message" : "object has missing required properties ([\"@name\"])",
>
> "required" : [ "@name" ],
>
> "missing" : [ "@name" ]
>
> }, {
>
> "level" : "error",
>
> "schema" : {
>
> "loadingURI" : "file:/C:/x3d-code/www.web3d.org/specifications/x3d-3.3-JSONSchema.json#",
>
> "pointer" : "/definitions/ProtoInstance"
>
> },
>
> "instance" : {
>
> "pointer" : "/X3D/Scene/-children/11/Transform/-children/7/Transform/-children/1/Transform/-children/0/Collision/-children/0/Transform/-children/2/Transform/-children/3/Transform/-children/5/Transform/-children/3/Transform/-children/1/Transform/-children/6/Transform/-children/4/Transform/-children/0/ProtoInstance"
>
> },
>
> "domain" : "validation",
>
> "keyword" : "required",
>
> "message" : "object has missing required properties ([\"@name\"])",
>
> "required" : [ "@name" ],
>
> "missing" : [ "@name" ]
>
> } ]
>
> --- END C:\x3d-code\www.web3d.org\x3d\stylesheets\test\BadJsonFromCobweb\Examples\ICTS\stage\index__4.fixed.json---
>
> Java Result: 100
>
> =====================================
>
> translation input: test/BadJsonFromCobweb/Examples/ICTS/stage/index__5.x3d
>
> ..expected output: test/BadJsonFromCobweb/Examples/ICTS/stage/index__5.fixed.json
>
> Script DEF=_enterWorldScript contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> ..error checking with jslint
>
> ..error checking with json-schema-validator
>
> --- BEGIN C:\x3d-code\www.web3d.org\x3d\stylesheets\test\BadJsonFromCobweb\Examples\ICTS\stage\index__5.fixed.json---
>
> validation: SUCCESS
>
> --- END C:\x3d-code\www.web3d.org\x3d\stylesheets\test\BadJsonFromCobweb\Examples\ICTS\stage\index__5.fixed.json---
>
> =====================================
>
> translation input: test/BadJsonFromCobweb/Examples/ICTS/stage/level1.x3d
>
> ..expected output: test/BadJsonFromCobweb/Examples/ICTS/stage/level1.fixed.json
>
> Script DEF=_89 contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> ..error checking with jslint
>
> ..error checking with json-schema-validator
>
> --- BEGIN C:\x3d-code\www.web3d.org\x3d\stylesheets\test\BadJsonFromCobweb\Examples\ICTS\stage\level1.fixed.json---
>
> validation: FAILURE
>
> [ {
>
> "level" : "error",
>
> "schema" : {
>
> "loadingURI" : "file:/C:/x3d-code/www.web3d.org/specifications/x3d-3.3-JSONSchema.json#",
>
> "pointer" : "/definitions/ProtoInstance"
>
> },
>
> "instance" : {
>
> "pointer" : "/X3D/Scene/-children/20/Transform/-children/0/Transform/-children/0/Switch/-children/1/Transform/-children/4/Transform/-children/1/Transform/-children/0/Transform/-children/1/Transform/-children/0/ProtoInstance/fieldValue/3/-children/0/ProtoInstance"
>
> },
>
> "domain" : "validation",
>
> "keyword" : "required",
>
> "message" : "object has missing required properties ([\"@name\"])",
>
> "required" : [ "@name" ],
>
> "missing" : [ "@name" ]
>
> }, {
>
> "level" : "error",
>
> "schema" : {
>
> "loadingURI" : "file:/C:/x3d-code/www.web3d.org/specifications/x3d-3.3-JSONSchema.json#",
>
> "pointer" : "/definitions/ProtoInstance"
>
> },
>
> "instance" : {
>
> "pointer" : "/X3D/Scene/-children/20/Transform/-children/0/Transform/-children/0/Switch/-children/1/Transform/-children/4/Transform/-children/1/Transform/-children/1/Transform/-children/1/Transform/-children/0/ProtoInstance/fieldValue/4/-children/0/ProtoInstance"
>
> },
>
> "domain" : "validation",
>
> "keyword" : "required",
>
> "message" : "object has missing required properties ([\"@name\"])",
>
> "required" : [ "@name" ],
>
> "missing" : [ "@name" ]
>
> }, {
>
> "level" : "error",
>
> "schema" : {
>
> "loadingURI" : "file:/C:/x3d-code/www.web3d.org/specifications/x3d-3.3-JSONSchema.json#",
>
> "pointer" : "/definitions/ProtoInstance"
>
> },
>
> "instance" : {
>
> "pointer" : "/X3D/Scene/-children/20/Transform/-children/0/Transform/-children/0/Switch/-children/1/Transform/-children/4/Transform/-children/1/Transform/-children/2/Transform/-children/1/Transform/-children/0/ProtoInstance/fieldValue/5/-children/0/ProtoInstance"
>
> },
>
> "domain" : "validation",
>
> "keyword" : "required",
>
> "message" : "object has missing required properties ([\"@name\"])",
>
> "required" : [ "@name" ],
>
> "missing" : [ "@name" ]
>
> }, {
>
> "level" : "error",
>
> "schema" : {
>
> "loadingURI" : "file:/C:/x3d-code/www.web3d.org/specifications/x3d-3.3-JSONSchema.json#",
>
> "pointer" : "/definitions/ProtoInstance"
>
> },
>
> "instance" : {
>
> "pointer" : "/X3D/Scene/-children/20/Transform/-children/0/Transform/-children/0/Switch/-children/1/Transform/-children/4/Transform/-children/1/Transform/-children/3/Transform/-children/1/Transform/-children/0/ProtoInstance/fieldValue/5/-children/0/ProtoInstance"
>
> },
>
> "domain" : "validation",
>
> "keyword" : "required",
>
> "message" : "object has missing required properties ([\"@name\"])",
>
> "required" : [ "@name" ],
>
> "missing" : [ "@name" ]
>
> } ]
>
> --- END C:\x3d-code\www.web3d.org\x3d\stylesheets\test\BadJsonFromCobweb\Examples\ICTS\stage\level1.fixed.json---
>
> Java Result: 100
>
> =====================================
>
> translation input: test/BadJsonFromCobweb/Examples/Pong/index.x3d
>
> ..expected output: test/BadJsonFromCobweb/Examples/Pong/index.fixed.json
>
> Script contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> ..error checking with jslint
>
> ..error checking with json-schema-validator
>
> --- BEGIN C:\x3d-code\www.web3d.org\x3d\stylesheets\test\BadJsonFromCobweb\Examples\Pong\index.fixed.json---
>
> validation: SUCCESS
>
> --- END C:\x3d-code\www.web3d.org\x3d\stylesheets\test\BadJsonFromCobweb\Examples\Pong\index.fixed.json---
>
> =====================================
>
> translation input: test/BadJsonFromCobweb/Examples/Schacht/index.x3d
>
> ..expected output: test/BadJsonFromCobweb/Examples/Schacht/index.fixed.json
>
> Script contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> ..error checking with jslint
>
> ..error checking with json-schema-validator
>
> --- BEGIN C:\x3d-code\www.web3d.org\x3d\stylesheets\test\BadJsonFromCobweb\Examples\Schacht\index.fixed.json---
>
> validation: SUCCESS
>
> --- END C:\x3d-code\www.web3d.org\x3d\stylesheets\test\BadJsonFromCobweb\Examples\Schacht\index.fixed.json---
>
> =====================================
>
> translation input: test/BadJsonFromCobweb/Examples/Terrain/index.x3d
>
> ..expected output: test/BadJsonFromCobweb/Examples/Terrain/index.fixed.json
>
> Script contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> ..error checking with jslint
>
> ..error checking with json-schema-validator
>
> --- BEGIN C:\x3d-code\www.web3d.org\x3d\stylesheets\test\BadJsonFromCobweb\Examples\Terrain\index.fixed.json---
>
> validation: SUCCESS
>
> --- END C:\x3d-code\www.web3d.org\x3d\stylesheets\test\BadJsonFromCobweb\Examples\Terrain\index.fixed.json---
>
> =====================================
>
> translation input: test/BadJsonFromCobweb/Examples/TikiWorld/index.x3d
>
> ..expected output: test/BadJsonFromCobweb/Examples/TikiWorld/index.fixed.json
>
> Script contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> ..error checking with jslint
>
> ..error checking with json-schema-validator
>
> --- BEGIN C:\x3d-code\www.web3d.org\x3d\stylesheets\test\BadJsonFromCobweb\Examples\TikiWorld\index.fixed.json---
>
> validation: SUCCESS
>
> --- END C:\x3d-code\www.web3d.org\x3d\stylesheets\test\BadJsonFromCobweb\Examples\TikiWorld\index.fixed.json---
>
> =====================================
>
> translation input: test/BadJsonFromCobweb/Examples/Vattenfall/index.x3d
>
> ..expected output: test/BadJsonFromCobweb/Examples/Vattenfall/index.fixed.json
>
> Script contains CDATA source-code text, copied as "#sourceText" using "strings" mode
>
> ..error checking with jslint
>
> ..error checking with json-schema-validator
>
> --- BEGIN C:\x3d-code\www.web3d.org\x3d\stylesheets\test\BadJsonFromCobweb\Examples\Vattenfall\index.fixed.json---
>
> validation: SUCCESS
>
> --- END C:\x3d-code\www.web3d.org\x3d\stylesheets\test\BadJsonFromCobweb\Examples\Vattenfall\index.fixed.json---
>
> =====================================
>
> BUILD SUCCESSFUL (total time: 3 minutes 48 seconds)
>
> 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
>
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