<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>John,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>You are right, the “#comment” is not permitted as you list in the first listing below, and in your appended file. Furthermore, when I amend your file to reproduce the last listing, it also fails validation. This is what I expect. I am using XMLSpy as my validation tool? What are you using?<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>As you deduced, the “-textureTransform” field has no child. And there can be no comment within the field. The comment would have to precede the field. An example would be:<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black;background:white;mso-highlight:white'>                    </span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:maroon;background:white;mso-highlight:white'>"Appearance"</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:blue;background:white;mso-highlight:white'>:</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black;background:white;mso-highlight:white'> </span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:blue;background:white;mso-highlight:white'>{</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black;background:white;mso-highlight:white'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black;background:white;mso-highlight:white'>                      </span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:maroon;background:white;mso-highlight:white'>"@DEF"</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:blue;background:white;mso-highlight:white'>:</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black;background:white;mso-highlight:white'> "DECLDarkOak_INSTANCE_DarkOakAppearance"</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:blue;background:white;mso-highlight:white'>,</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black;background:white;mso-highlight:white'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black;background:white;mso-highlight:white'>                      </span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:maroon;background:white;mso-highlight:white'>"-children"</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:blue;background:white;mso-highlight:white'>:</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black;background:white;mso-highlight:white'> </span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:blue;background:white;mso-highlight:white'>[</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black;background:white;mso-highlight:white'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black;background:white;mso-highlight:white'>                        </span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:blue;background:white;mso-highlight:white'>{</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black;background:white;mso-highlight:white'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black;background:white;mso-highlight:white'>                          </span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:maroon;background:white;mso-highlight:white'>"#comment"</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:blue;background:white;mso-highlight:white'>:</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black;background:white;mso-highlight:white'> "textureTransform field IS exposed through the Prototype field interface with same name"<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black;background:white;mso-highlight:white'>                        </span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:blue;background:white;mso-highlight:white'>},</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black;background:white;mso-highlight:white'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black;background:white;mso-highlight:white'>                        </span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:blue;background:white;mso-highlight:white'>{</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black;background:white;mso-highlight:white'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black;background:white;mso-highlight:white'>                          </span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:maroon;background:white;mso-highlight:white'>"#comment"</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:blue;background:white;mso-highlight:white'>:</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black;background:white;mso-highlight:white'> "NULL node as child"<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black;background:white;mso-highlight:white'>                        </span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:blue;background:white;mso-highlight:white'>}</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black;background:white;mso-highlight:white'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black;background:white;mso-highlight:white'>                      </span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:blue;background:white;mso-highlight:white'>],</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black;background:white;mso-highlight:white'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black;background:white;mso-highlight:white'>                      </span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:maroon;background:white;mso-highlight:white'>"-textureTransform"</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:blue;background:white;mso-highlight:white'>:</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black;background:white;mso-highlight:white'> </span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:blue;background:white;mso-highlight:white'>{</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black;background:white;mso-highlight:white'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black;background:white;mso-highlight:white'>                      </span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:blue;background:white;mso-highlight:white'>},<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black;background:white;mso-highlight:white'>                      …<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> John Carlson [mailto:yottzumm@gmail.com] <br><b>Sent:</b> 02 July 2016 13:03<br><b>To:</b> Roy Walmsley<br><b>Cc:</b> X3D Graphics public mailing list; Don Brutzman<br><b>Subject:</b> RE: json schema validation problem: "-children" commentsinside"head"element<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US>This is only in the prototype expander.  Now fairly sure there is a bug in my code.  The #comment in question in red, and I’m assuming it’s getting there because the textureTransform field did not get set:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>"-appearance": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                    "Appearance": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                      "@DEF": "DECLDarkOak_INSTANCE_DarkOakAppearance",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                      "-children": [<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                        {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                          "#comment": "textureTransform field IS exposed through the Prototype field interface with same name"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                        }<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                      ],<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                      "-textureTransform": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:red'>                        "#comment": "NULL node as child"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                      },<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                      "-material": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                        "Material": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                          "@diffuseColor": [<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                            1,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                            0.45,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                            0.23<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                          ]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                        }<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                      },<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                      "-texture": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                        "ImageTexture": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                          "@DEF": "DECLDarkOak_INSTANCE_wood_g",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                          "@url": [<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                            "wood_g.jpg",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                            "<a href="http://www.web3d.org/x3d/content/examples/Vrml2.0Sourcebook/Chapter31-Prototypes/wood_g.jpg">http://www.web3d.org/x3d/content/examples/Vrml2.0Sourcebook/Chapter31-Prototypes/wood_g.jpg</a>"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                          ]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                        }<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                      }<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Here’s a good one in the same file:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>         "-textureTransform": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                        "TextureTransform": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                          "@center": [<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                            0,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                            5<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                          ],<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                          "@rotation": 0.758,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                          "@scale": [<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                            2,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                            0.5<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                          ],<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                          "@translation": [<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                            0.5,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                            0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                          ]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                        }<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                      },<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>From the prototype expansion of:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>examples/Vrml2.0Sourcebook/Chapter31-Prototypes/Figure31.5WoodAppearanceExternalPrototypes.json<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Looking at the JSON, it looks like the node should appear like:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>                      "-textureTransform": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                         “-children”: [ {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:red'>                        "#comment": "NULL node as child"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:red'>                         }]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>                      },<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Which does pass schema without error. Why, I don’t know.  Is this the general way to get extra nodes into a containerField through JSON schema?  Roy?   Full prototype expanded file attached.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Hmm.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986">Mail</a> for Windows 10<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p> </o:p></span></p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US>From: </span></b><span lang=EN-US><a href="mailto:yottzumm@gmail.com">John Carlson</a><br><b>Sent: </b>Saturday, July 2, 2016 7:22 AM<br><b>To: </b><a href="mailto:brutzman@nps.edu">Don Brutzman</a>; <a href="mailto:roy.walmsley@ntlworld.com">Roy Walmsley</a><br><b>Cc: </b><a href="mailto:x3d-public@web3d.org">X3D Graphics public mailing list</a><br><b>Subject: </b>RE: json schema validation problem: "-children" commentsinside"head"element<o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Turns out there’s a bug in my program.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>John<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986">Mail</a> for Windows 10<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p> </o:p></span></p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US>From: </span></b><span lang=EN-US><a href="mailto:yottzumm@gmail.com">John Carlson</a><br><b>Sent: </b>Saturday, July 2, 2016 6:38 AM<br><b>To: </b><a href="mailto:brutzman@nps.edu">Don Brutzman</a>; <a href="mailto:roy.walmsley@ntlworld.com">Roy Walmsley</a><br><b>Cc: </b><a href="mailto:x3d-public@web3d.org">X3D Graphics public mailing list</a><br><b>Subject: </b>RE: json schema validation problem: "-children" comments inside"head"element<o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>I believe I have another place where #comment should appear, but it’s not allowed.  This may be a more general problem that will be solved when the schema is generated from the object model (it’s too hard to put all the #comments in by hand, I think, but I could be wrong).  Meanwhile, if you need a file to pass, I suggest hand modifying the schema.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>John<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986">Mail</a> for Windows 10<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p> </o:p></span></p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US>From: </span></b><span lang=EN-US><a href="mailto:brutzman@nps.edu">Don Brutzman</a><br><b>Sent: </b>Saturday, July 2, 2016 2:04 AM<br><b>To: </b><a href="mailto:roy.walmsley@ntlworld.com">Roy Walmsley</a><br><b>Cc: </b><a href="mailto:yottzumm@gmail.com">John Carlson</a>; <a href="mailto:x3d-public@web3d.org">X3D Graphics public mailing list</a><br><b>Subject: </b>json schema validation problem: "-children" comments inside "head"element<o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Am getting json validation errors like the following when a comment appears inside a head tag, originally as peer of meta tags.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>================================================<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>validation error:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>C:\x3d-code\www.web3d.org\x3d\content\examples\X3dForWebAuthors/Chapter05-AppearanceMaterialTextures//FillProperties.json error checking with json-schema-validator<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>--- BEGIN C:\x3d-code\www.web3d.org\x3d\content\examples\X3dForWebAuthors\Chapter05-AppearanceMaterialTextures\FillProperties.json---<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>validation: FAILURE<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>[ {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>   "level" : "error",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>   "schema" : {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>     "loadingURI" : "file:/C:/x3d-code/www.web3d.org/specifications/x3d-3.3-JSONSchema.json#",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>     "pointer" : "/definitions/head"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>   },<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>   "instance" : {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>     "pointer" : "/X3D/head"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>   },<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>   "domain" : "validation",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>   "keyword" : "additionalProperties",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>   "message" : "object instance has properties which are not allowed by the schema: [\"-children\"]",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>   "unwanted" : [ "-children" ]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>} ]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>--- END C:\x3d-code\www.web3d.org\x3d\content\examples\X3dForWebAuthors\Chapter05-AppearanceMaterialTextures\FillProperties.json---<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Java Result: 100<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>================================================<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>snippets:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>     "head": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>         "-children":[<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>           { "#comment":"The following component tag is needed since FillProperties node is not part of the default Immersive profile"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>           }<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>         ],<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>         "component": [<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>           {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>             "@name":"Shape",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>             "@level":3<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>           }<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>         ],<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>         "meta": [<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>           {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>             "@name":"title",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>             "@content":"FillProperties.x3d"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>           },<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>           {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>             "@name":"description",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>             "@content":"Demonstrate various FillProperties values."<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>           },<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>etc.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>         ]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>     },<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>================================================<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>   <head><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>     <!-- The following component tag is needed since FillProperties node is not part of the default Immersive profile --><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>     <component level='3' name='Shape'/><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>     <meta content='FillProperties.x3d' name='title'/><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>     <meta content='Demonstrate various FillProperties values.' name='description'/><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>etc.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>   </head><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>================================================<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>I think that the json schema needs to be allow the "-children" field here, and similarly inside other statements, wherever a "#comment" is allowed to appear.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Once we get this sorted out, we should check on the corresponding prose in the new draft X3D JSON Encoding specification.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>all the best, Don<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>-- <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Don Brutzman  Naval Postgraduate School, Code USW/Br       <a href="mailto:brutzman@nps.edu">brutzman@nps.edu</a><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>X3D graphics, virtual worlds, navy robotics <a href="http://faculty.nps.edu/brutzman">http://faculty.nps.edu/brutzman</a><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div></body></html>