[x3d-public] Action Needed: Need for acceptableStatements (or types) for children fields in X3DObject Model

John Carlson yottzumm at gmail.com
Sat Jul 29 13:11:02 PDT 2017


Are we assuming that can acceptableNodeTypes in the object model will allow
for acceptableStatements?   I'd like to see action on this in the object
model (put the statements or abstract types for statements into
acceptableNodeTypes) so I can continue with autogeneration of the JSON
schema.

On Jul 20, 2017 1:22 PM, "John Carlson" <yottzumm at gmail.com> wrote:

> Sorry for the repeat, mailed to Don’s wrong address:
>
>
>
> I believe we need acceptableStatements to restrict acceptable statements
> for children fields in the X3D Object Model.  If it’s ProtoInstance we have
> a acceptable statements which are comments. If no children field is found,
> then we have -commentRoute in JSON schema (temporarily now
> -childrenStatements). However if there are children, there’s no way to
> specify which statements are allowed. Previously, I tacked X3DChildNode
> above the statement inheritance hierarchy in my schema generator, which was
> wrong.
>
>
>
> Do we need to extend this extra children field to other nodes so they can
> accept statements? And then just don’t support any acceptableNodeTypes for
> those children?
>
>
>
> Can we separate nodes and statements into separate children arrays in
> X3DJSON?
>
>
>
> Things to think about.
>
>
>
> John
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170729/cbfda13d/attachment.html>


More information about the x3d-public mailing list