[x3d-public] Wrong container field for LayoutLayer in DTD

Holger Seelig holger.seelig at yahoo.de
Sun Dec 27 22:29:43 PST 2015


Both DTD (3.2 and 3.3) specify 'children' as container field for 
LayoutLayer, but as LayoutLayer is a X3DLayerNode and often used as 
value for LayerSet's 'layer' field the container field must be 'layers' 
this as specified in 
http://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/EncodingOfNodes.html#LayoutLayer.



http://www.web3d.org/specifications/x3d-3.2.dtd
http://www.web3d.org/specifications/x3d-3.3.dtd

<!ELEMENT LayoutLayer (IS?, (%MetadataNodes;)?, Layout, Viewport?, 
(%ChildrenNodes; | %WildcardNodes;)*)>
<!ATTLIST LayoutLayer
	isPickable %SFBool; "true"
	containerField NMTOKEN "children"
	class NMTOKENS #IMPLIED
	DEF ID #IMPLIED
	USE IDREF #IMPLIED
 >



http://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/EncodingOfNodes.html#LayoutLayer

6.2.106  LayoutLayer

<LayoutLayer 	  	
   DEF=""
   USE=""
   isPickable="true"
   containerField="layers"
   >
    <!-- LayoutGroupContentModel -->
</LayoutLayer>



-- 
Holger Seelig
Mediengestalter Digital – Digital Media Designer

Scheffelstraße 31a
04277 Leipzig
Germany

Cellular: +49 1577 147 26 11
E-Mail:   holger.seelig at yahoo.de
Web:      http://titania.create3000.de

Future to the fantasy ★ ★



More information about the x3d-public mailing list