<div><div dir="auto">The JSON specification is an example of what I am talking about.   I’m not referring to code.</div><div dir="auto"><br></div><div dir="auto">John </div></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 13, 2020 at 3:04 PM Don Brutzman <<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)">On 7/13/2020 12:31 PM, John Carlson wrote:<br>
> [...]<br>
> <br>
> Should we define a state machine<br>
<br>
No.  MFString is a list of strings.  Parsing is an "implementation detail" that is up to implementers and their algorithms.  This is commonplace.<br>
<br>
> or regular expression for MFString?<br>
<br>
* X3D 4 Tooltips: MFString<br>
   <a href="https://www.web3d.org/x3d/content/X3dTooltips.html#MFString" rel="noreferrer" target="_blank">https://www.web3d.org/x3d/content/X3dTooltips.html#MFString</a><br>
<br>
has links to spec, XML Schema, X3D regexes, Java SAI and X3DJSAIL.<br>
<br>
* X3D Regular Expressions (regexes): MFString<br>
   <a href="https://www.web3d.org/specifications/X3dRegularExpressions.html#MFString" rel="noreferrer" target="_blank">https://www.web3d.org/specifications/X3dRegularExpressions.html#MFString</a><br>
<br>
TODO. Is there a practical regex that can match pairs of unescaped quotation marks?<br>
<br>
all the best, Don<br>
-- <br>
Don Brutzman  Naval Postgraduate School, Code USW/Br       <a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a><br>
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149<br>
X3D graphics, virtual worlds, navy robotics <a href="http://faculty.nps.edu/brutzman" rel="noreferrer" target="_blank">http://faculty.nps.edu/brutzman</a><br>
</blockquote></div></div>