[x3d-public] Mantis 1320: relax requirement for quotedsingle-string value in MFString array

Don Brutzman brutzman at nps.edu
Mon Jul 13 13:04:33 PDT 2020


On 7/13/2020 12:31 PM, John Carlson wrote:
> [...]
> 
> Should we define a state machine

No.  MFString is a list of strings.  Parsing is an "implementation detail" that is up to implementers and their algorithms.  This is commonplace.

> or regular expression for MFString?

* X3D 4 Tooltips: MFString
   https://www.web3d.org/x3d/content/X3dTooltips.html#MFString

has links to spec, XML Schema, X3D regexes, Java SAI and X3DJSAIL.

* X3D Regular Expressions (regexes): MFString
   https://www.web3d.org/specifications/X3dRegularExpressions.html#MFString

TODO. Is there a practical regex that can match pairs of unescaped quotation marks?

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