| 1 | <?xml version="1.0" encoding="UTF-8"?> | 
| 2 | <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 4.0//EN" "https://www.web3d.org/specifications/x3d-4.0.dtd"> | 
| 3 | <X3D profile='Interchange' version='4.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-4.0.xsd'> | 
| 4 | <head> | 
| 5 | <meta name='title' content=' TestMetadataNodes.x3d '/> | 
| 6 | <meta name='description' content='Test parentage and type checking of MetadataNodes using X3D4 defaults.'/> | 
| 7 | <meta name='creator' content='Don Brutzman'/> | 
| 8 | <meta name='created' content='12 March 2005'/> | 
| 9 | <meta name='modified' content='18 May 2024'/> | 
| 10 | <meta name='reference' content='https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/core.html#NodeReference'/> | 
| 11 | <meta name='reference' content='https://www.web3d.org/x3d/content/X3dTooltips.html#MetadataDouble'/> | 
| 12 | <meta name='subject' content='metadata nodes test'/> | 
| 13 | <meta name=' warning ' content=' MetadataString node within NavigationInfo is legal X3D but will cause error when translating to VRML97 due to (previously) disallowed parent node. '/> | 
| 14 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Basic/development/TestMetadataNodes.x3d '/> | 
| 15 | <meta name='generator' content='X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit'/> | 
| 16 | <meta name='license' content='../license.html'/> | 
| 17 | </head> | 
 DEF nodes index: 
               
               M0,
M1,
M2,
M3,
M4,
M5,
M6,
TextFont
               
               
                  DEF nodes index: 
               
               M0,
M1,
M2,
M3,
M4,
M5,
M6,
TextFont
            | 18 | <Scene> | 
| 19 | <WorldInfo title='TestMetadataNodes.x3d'/> | 
| 20 | <Background skyColor='0.5 0.5 1'/> | 
| 21 | <Anchor description='Click to see documentation example' url=' "TestMetadataNodesIndex.html" "https://www.web3d.org/x3d/content/examples/Basic/development/TestMetadataNodesIndex.html" '> | 
| 22 | <Shape> | 
| 23 | <Appearance> | 
| 24 | <Material diffuseColor='0.8 0.9 0.9'/> | 
| 25 | </Appearance> | 
| 26 | <Text length='0' string='"TestMetadataNodes.x3d" "shows X3D4 Metadata nodes"'> | 
| 27 | <FontStyle DEF='TextFont' justify='"MIDDLE" "MIDDLE"' style='BOLD'/> | 
| 28 | </Text> | 
| 29 | </Shape> | 
| 30 | </Anchor> | 
| 31 | <Group> | 
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | <!-- intermediate comment should not be sorted --> | 
| 37 | |
| 38 | |
| 39 | |
| 40 | <!-- presence of comment will suppress warning about no MetadataSet children found --> | 
| 41 | </MetadataSet> | 
| 42 | </MetadataSet> | 
| 43 | </Group> | 
| 44 | <NavigationInfo> | 
| 45 | <MetadataString containerField='metadata' name='Test illegal parent under VRML97'/> | 
| 46 | </NavigationInfo> | 
| 47 | <!-- Metadata nodes are allowed as root nodes in X3D4, but must define containerField='metadata' --> | 
| 48 | <!-- https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/concepts.html#Rootnodes --> | 
| 49 | <MetadataSet USE='M0' containerField='metadata'/> | 
| 50 | <MetadataBoolean USE='M1' containerField='metadata'/> | 
| 51 | <MetadataString USE='M2' containerField='metadata'/> | 
| 52 | <MetadataDouble USE='M3' containerField='metadata'/> | 
| 53 | <MetadataFloat USE='M4' containerField='metadata'/> | 
| 54 | <MetadataInteger USE='M5' containerField='metadata'/> | 
| 55 | <MetadataSet USE='M6' containerField='metadata'/> | 
| 56 | <!-- Test case: Metadata nodes are only allowed to contain other metadata nodes, test fragment follows --> | 
| 57 | <!-- <MetadataSet DEF='ErroneousChild'> <DirectionalLight/> </MetadataSet> --> | 
| 58 | </Scene> | 
| 59 | </X3D> | 
 DEF nodes index: 
         
         M0,
M1,
M2,
M3,
M4,
M5,
M6,
TextFont
         
         
            DEF nodes index: 
         
         M0,
M1,
M2,
M3,
M4,
M5,
M6,
TextFont
      Event Graph ROUTE Table with 0 ROUTE connections total, showing X3D event-model relationships for this scene.
Each row shows an event cascade that may occur during a single timestamp interval between frame renderings, as part of the X3D execution model.
| line 21 Anchor | description='Click to see documentation example' User-interaction hint for this node. | 
         <!--
Color-coding legend: X3D terminology 
<X3dNode
          DEF='idName' field='value'/> 
 matches XML terminology 
<XmlElement
          DEF='idName' attribute='value'/> 
(Light-blue background: event-based behavior node or statement)
(Grey background inside box: inserted documentation)
(Magenta background: X3D Extensibility)
          -->
      
         
             <!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->
         
         <!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->