[x3d-public] containerField modifications by script

Andreas Plesch andreasplesch at gmail.com
Wed Oct 26 16:08:10 PDT 2016


Thanks. This is valuable feedback.

Andreas

On Oct 26, 2016 11:43 AM, "Yves Piguet" <yves.piguet at gmail.com> wrote:

> I'd rather consider the containerField as just a convenience of the XML
> encoding. The node with a containerField value is a child of its parent
> which perhaps you might want to detach and reattach explicitly; not the
> opposite where the containerField value would be some kind of a child
> property of the node. I wouldn't keep a containerField property once the
> X3D scene tree is built. So I agree with you to not support containerField
> mutation.
>
> Yves
>
> On 26 oct. 2016, at 17:20, Andreas Plesch wrote:
>
> > There may be rare circumstances when an application may want to modify
> the containerField value of an existing x3d node although I am not sure if
> this is ever a concern.
> >
> > So for cobweb_dom, I do think mutations to the containerField attribute
> may only need to lead to a warning that such is not supported and ignored.
> >
> > Unless there is some situation where this would be valuable ? An
> application can always delete the x3d node (causing a set_ event to
> defaults) and then add a new x3d node in place (causing a set_ event to the
> new value).
> >
> > -Andreas
> > --
> > Andreas Plesch
> > 39 Barbara Rd.
> > Waltham, MA 02453
> > _______________________________________________
> > x3d-public mailing list
> > x3d-public at web3d.org
> > http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20161026/9b815cc6/attachment.html>


More information about the x3d-public mailing list