[x3d-public] X3D regular expression (regex) improvements

Don Brutzman brutzman at nps.edu
Thu Aug 2 08:07:20 PDT 2018


This has come up many many times and has long been the pattern in X3D XML Schema validation.  The crucial answer remains the same.  Among other places, available at

http://www.web3d.org/specifications/X3dRegularExpressions.html#X3dPatterns

"Intermediate commas are treated as whitespace, but only allowed between each singleton value. For example, SFVec3f 3-tuple values within an MFVec3f array do not contain comma characters (but may be separated by commas and whitespace). Experience has shown that misplaced commas are a crucial indicator of malformed tuple values in large float arrays."

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