[x3d-public] Addition to X3DUOM. DSM/Model-based ordering

John Carlson yottzumm at gmail.com
Sun Mar 31 12:29:59 PDT 2024


My thought is to add a sequential subschema to JSON Schema to match the
parallel subschemas, “oneOf”, “allOf”, …

On Sun, Mar 31, 2024 at 12:03 PM John Carlson <yottzumm at gmail.com> wrote:

> In places where order IS important, inside head and X3D elements, the JSON
> schema is silent.  I will probably be using custom schema “stuff” from
> X3DUOM in JSON schema to specify order, but it will be informative, not
> binding.  That is, you should implement it for interoperability.
>
> Collaboration on design is welcome.
>
> John
>
> On Sun, Mar 31, 2024 at 11:04 AM John Carlson <yottzumm at gmail.com> wrote:
>
>> It looks like the *ContentModel tags manage order? and occurrence of
>> subnodes.  I did wonder what these were.  I have not seriously looked at
>> the X3DUOM xsd yet.  Is there documentation elsewhere?  I’l look at the XML
>> encoding.
>>
>> Thanks,
>>
>> Joh
>>
>> On Sun, Mar 31, 2024 at 10:33 AM John Carlson <yottzumm at gmail.com> wrote:
>>
>>> I am wondering about ordering statements and nodes in X3DUOM (object
>>> model).  I am well aware of ordering in XML schema…and sorting in
>>> stylesheets.  This means we have to write ordering for each X3DUOM
>>> processor.  It might be easiest just to order stuff in X3DUOM, once.  I am
>>> thinking about ordering head statements, and head vs Scene. There are
>>> perhaps, other places in X3D.
>>>
>>> Neither JSON schema nor my upcoming VRML grammar currently bother much
>>> about ordering, and that concerns me.  I feel like XSLT could provide a
>>> better solution, but I’m starting to think about how to accomplish ordering
>>> in VRML parsing, without information from X3DUOM.
>>>
>>> Thanks for listening,
>>>
>>> John
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20240331/63db5056/attachment.html>


More information about the x3d-public mailing list