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

John Carlson yottzumm at gmail.com
Mon Jul 13 13:14:04 PDT 2020


Never mind about regex.   Something like JSON’s railroad diagrams would be
preferable.

On Mon, Jul 13, 2020 at 3:10 PM John Carlson <yottzumm at gmail.com> wrote:

> The JSON specification is an example of what I am talking about.   I’m not
> referring to code.
>
> John
>
> On Mon, Jul 13, 2020 at 3:04 PM Don Brutzman <brutzman at nps.edu> wrote:
>
>> 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
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20200713/5e0348e5/attachment-0001.html>


More information about the x3d-public mailing list