<div dir="auto">I will try to describe this better (i found another occurrence).   X3D JSON schema thinks NavigationInfo @type has a value which is JSON array.  Something else (X3dToJson.xslt?) is creating a JSON string for the value of the @type field.  I am pretty sure that skipping validation errors allows rendering to proceed in X3DJSONLD, but there is still a popop.   I want to suppress the popup.   The only thing i can think of to suppress the popup is to handle both JSON arrays and JSON strings in the JSON subschema for the @type field, but I haven’t looked how to do that.  Help! at this point.  I think that would add a lot of verbage to X3D JSON schema,  unless we can create a type or subschema in JSON schema which which handles both.</div><div dir="auto"><br></div><div dir="auto">In general, then, do we want to provide both JSON string and JSON array as value types for MFString field values in X3D JSON schema?</div><div dir="auto"><br></div><div dir="auto">We should probably work on this F2F, unless you see an obvious solution.</div><div dir="auto"><br></div><div dir="auto">John</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Dec 10, 2021 at 1:33 PM Brutzman, Donald (Don) (CIV) <<a href="mailto:brutzman@nps.edu">brutzman@nps.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">





<div lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="m_6742917042769809335WordSection1">
<p class="MsoNormal">Thanks for scrutiny but not clear what you want John.  MFString array entries are quoted so either looks legal to me.  Not sure what is preferred.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Is there something else you want?  Saying what seems correct and providing example would help.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Rephrase:  the usual questions.  What is wrong?  What would correct solution look like?  How would you test that?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">p.s. PrototypeExpander is unfinished work.<u></u><u></u></p>
<div>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New""><u style="font-family:"Courier New""></u> <u style="font-family:"Courier New""></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New"">all the best, Don<u style="font-family:"Courier New""></u><u style="font-family:"Courier New""></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New"">-- <u style="font-family:"Courier New""></u>
<u style="font-family:"Courier New""></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New"">Don Brutzman  Naval Postgraduate School, Code USW/Br        <a href="mailto:brutzman@nps.edu" target="_blank" style="font-family:"Courier New"">brutzman@nps.edu</a><u style="font-family:"Courier New""></u><u style="font-family:"Courier New""></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New"">Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA    +1.831.656.2149<u style="font-family:"Courier New""></u><u style="font-family:"Courier New""></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New"">X3D graphics, virtual worlds, navy robotics https://</span>
<span style="font-size:10pt;font-family:"Courier New""><a href="http://faculty.nps.edu/brutzman" target="_blank" style="font-family:"Courier New"">faculty.nps.edu/brutzman</a><u style="font-family:"Courier New""></u><u style="font-family:"Courier New""></u></span></p>
</div></div></div><div lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word"><div class="m_6742917042769809335WordSection1">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div style="border-style:solid none none;border-top-width:1pt;padding:3pt 0in 0in;border-top-color:rgb(225,225,225)">
<p class="MsoNormal"><b>From:</b> John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>> <br>
<b>Sent:</b> Thursday, December 9, 2021 11:04 PM<br>
<b>To:</b> Brutzman, Donald (Don) (CIV) <<a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a>>; X3D Graphics public mailing list <<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a>><br>
<b>Subject:</b> X3dToJson.xslt??? MFStrings as strings instead of array of strings.<u></u><u></u></p>
</div>
</div>
<div>
<p><span style="font-family:"Courier New";background-color:white;color:black">This change was observed in a PrototypeExpander output file</span><u></u><u></u></p>
<p><span style="font-family:"Courier New";background-color:white;color:black">         "NavigationInfo": {
</span><span style="font-family:"Courier New""><br>
<span style="font-family:"Courier New";background-color:white;color:rgb(178,24,24)">-            "@type": [</span><span style="font-family:"Courier New";background-color:white;color:black">
</span><br>
<span style="font-family:"Courier New";background-color:white;color:rgb(178,24,24)">-              "EXAMINE"</span><span style="font-family:"Courier New";background-color:white;color:black">
</span><br>
<span style="font-family:"Courier New";background-color:white;color:rgb(178,24,24)">-            ]</span><span style="font-family:"Courier New";background-color:white;color:black">
</span><br>
<span style="font-family:"Courier New";background-color:white;color:rgb(24,178,24)">+            "@type": "\"EXAMINE\""</span><span style="font-family:"Courier New";background-color:white;color:black">
</span><br>
          }</span><u></u><u></u></p>
<p><u></u> <u></u></p>
<p><span style="font-family:"Courier New"">I'm kind of wondering where it came from?</span><u></u><u></u></p>
<p><span style="font-family:"Courier New"">File is:</span><u></u><u></u></p>
<p><br>
<b><span style="font-family:"Courier New";background-color:white;color:black">X3DJSONLD/src/main/ppp/3dTexture.json</span></b><u></u><u></u></p>
<p><u></u> <u></u></p>
<p><b><span style="font-family:"Courier New";background-color:white;color:black">Run prototype expander via</span></b><u></u><u></u></p>
<p><u></u> <u></u></p>
<p><b><span style="font-family:"Courier New";background-color:white;color:black">$ cd X3DJSONLD/src/main/shell</span></b><u></u><u></u></p>
<p><u></u> <u></u></p>
<p><b><span style="font-family:"Courier New";background-color:white;color:black">$ bash runppp.sh</span></b><u></u><u></u></p>
<p><b><span style="font-family:"Courier New";background-color:white;color:black">Can we treat MFStrings as arrays in JSON?  Thanks!   What does the WD say?</span></b><u></u><u></u></p>
<p><b><span style="font-family:"Courier New";background-color:white;color:black">Thanks!</span></b><u></u><u></u></p>
<p><b><span style="font-family:"Courier New";background-color:white;color:black">John</span></b><u></u><u></u></p>
</div>
</div>
</div>

</blockquote></div></div>