[x3d-public] MFString quotes

Andreas Plesch andreasplesch at gmail.com
Wed Mar 15 15:49:04 PDT 2017


From: Leonard Daly <Leonard.Daly at realism.com>
To: X3D Graphics public mailing list <x3d-public at web3d.org>
Subject: Re: [x3d-public] MFString quotes


...need to be quoted. XML (as many
have noted) also requires that all attribute values be quoted, though it
does not care if a single or double quote is used. So both of the
following are legal:

  <Text string='"string 1" "string 2"'/>
  <Text string=""string 1" "string 2""/>


This is legal in XML but not valid x3d. X3d requires single quotes
surrounding the MFString attribute value.
The only motivation for this x3d limitation seems to be that vrml requires
double quotes for each MFString  component, as you helpfully recalled.
But why not allow then what you provide above for XML ?
Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170315/bbb50ad4/attachment.html>


More information about the x3d-public mailing list