<div dir="ltr">Before jumping off a cliff and deciding we don't want MFStrings as arrays, consider the problem of validation.  Attached are the differences to schema by changing JSON string arrays to strings.  Look at the rich validation we lose.  It's not only validation of URLs<div><br></div><div>the leading - means we subtract that from schema, the leading plus is what we are adding.</div><div><br></div><div>See the difference? JSON is NOT XML, even though you'd like to think that.  Don't treat it as such!</div><div><br></div><div>John</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Sep 2, 2023 at 2:58 AM John Carlson <<a href="mailto:yottzumm@gmail.com">yottzumm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">This file throws errors view3dscene:</div><div dir="ltr"><br></div><div dir="ltr"><a href="https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Specifications/KoreanCharacterMotionAnnexD01Jin.x3d" target="_blank">https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Specifications/KoreanCharacterMotionAnnexD01Jin.x3d</a> (bad name field).<br></div><div dir="ltr"><br></div><div>Also:</div><div dir="ltr"><br></div><div>The @channels field value in the translated JSON appears as a JSON string, not as  a JSON array.  Here we have the MFString problem again.</div><div><br></div><div>It appears that we have different ideas of what "MF" means.  To me, MF means a JSON array in JSON.  Holger's x3d-tidy tool and X_ITE renders MFStrings as arrays.  I created a special case NavigatorInfo@type.  Can we convert all MFStrings to JSON strings on output, please?  I think that would make everyone happy?</div><div><br></div><div>If our tools don't agree, that will confuse people.</div><div><br></div><div>There's could be issues around MFStrings in Text/fontStyle still. and other places, like urls...do you want those rendered as strings or arrays.</div><div><br></div><div>I'm going to proceed with modifying my schema generator, I'll keep a backup of current stuff.</div><div><br></div><div>John</div></div>
</blockquote></div>