[x3d-public] agreement on number of \\\\\\\\ in Java???? X3DJSAIL.

John Carlson yottzumm at gmail.com
Sun Jul 30 03:07:13 PDT 2017


Thanks!

On Jul 30, 2017 3:02 AM, "Michalis Kamburelis" <michalis.kambi at gmail.com>
wrote:

> 2017-07-30 7:06 GMT+02:00 John Carlson <yottzumm at gmail.com>:
> > Michalis, can you test on X3DOM and Cobweb as well?   Thanks!
> >
>
> Sure :)
>
> 1. Cobweb: Same as other browsers: backslashes in SFString are *not*
> used for escaping, backslashes in MFString *are* used for escaping.
> Screenshots attached, X3D and HTML code for testing on
> https://github.com/michaliskambi/x3d-tests/tree/master/backslashes_in_xml_
> encoding
> .
>
> 2. X3DOM: I played a bit with X3DOM test, but without the support for
> <Script> node, for now I have no idea how to force X3DOM to parse an
> SFString in X3D XML and then display it.
>
>   Note that the <Text> node's "string" field is MFString, not
> SFString. I can probably use JavaScript (without the <Script> node) to
> just pass a string to Text.string in X3DOM, but that would not test
> "how X3DOM parses SFString in X3D XML".
>
>   The testcase I used (mentioned in
> http://web3d.org/pipermail/x3d-public_web3d.org/2017-May/006690.html )
> is available on
> https://github.com/michaliskambi/x3d-tests/tree/master/backslashes_in_xml_
> encoding
> . If you have an idea how to adapt it to test X3DOM, please do (and
> you can submit it to me as pull request to
> https://github.com/michaliskambi/x3d-tests , of course :)
>
> Regards,
> Michalis
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170730/08933a10/attachment.html>


More information about the x3d-public mailing list