[x3d-public] Object model definitions of DEF, USE, and class

Leonard Daly Leonard.Daly at realism.com
Wed Jul 19 07:59:44 PDT 2017


Roy,

> ...
>
> I have suggested the “type” of each attribute might be “NMTOKEN”. 
> There may well be better types. If not, then “NMTOKEN” would need some 
> explanation.
>

I am not detailed familiar with all of the XML definition terminology, 
so I may not have the correct definition in mind here. My understanding 
of "NMTOKEN" is that it must be a valid XML name. These are alphanumeric 
characters plus underscore and dash.

This is the same set of characters as class names; however, class names 
have the restriction that it must start with a letter and the value is 
case insensitive. Also it is allowed (and standard practice) to use 
multiple class names for the value. Each name is separated from the 
others by white space. This is not a valid NMTOKEN.


-- 
*Leonard Daly*
3D Systems & Cloud Consultant
LA ACM SIGGRAPH Chair
President, Daly Realism - /Creating the Future/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170719/2e34f458/attachment.html>


More information about the x3d-public mailing list