[x3d-public] MFString quotes

Andreas Plesch andreasplesch at gmail.com
Thu Mar 16 03:42:05 PDT 2017


Leonard,

exactly, this is all.we were trying to point out. Yves reported this bug in
his spec
 comment but let me know if there is anything I can add to help.

Andreas

Date: Wed, 15 Mar 2017 16:35:53 -0700
From: Leonard Daly <Leonard.Daly at realism.com>
To: x3d-public at web3d.org
Subject: Re: [x3d-public] MFString quotes


I think I see where the problem is. In Section 5.5 of V3.3
(http://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/
EncodingOfFields.html#SFString)
states: "The MFString specifies zero or more SFStrings enclosed in
single quotes".

This is wrong. While it is certainly easier (most of the time) to use
single quotes as the attribute deliminator, X3D cannot enforce that
because in section 4.3.1 - XML encoding
(http://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/concepts.
html#XMLEncoding)
the spec states: "This clause describes the syntax of XML-encoded,
human-readable X3D files. The syntax of X3D in terms of the XML encoding
are presented in this part of ISO/IEC 19776. The semantics of X3D are as
defined in ISO/IEC 19775-1
<http://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/
references.html#[I19775_1]>.
Rules for parsing and handling XML-encoded documents are defined in
2.[XML]
<http://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/
references.html#[XML]>."

This is a spec bug and needs to be reported.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170316/63b1da3a/attachment.html>


More information about the x3d-public mailing list