<div dir="auto">Weird, sorry, I thought I didn’t send this message.</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 24, 2024 at 3:58 AM John Carlson <<a href="mailto:yottzumm@gmail.com">yottzumm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">The beginning of actually solving the problem.</div><div dir="ltr"><br></div><div dir="ltr">HAnimHumanoid.java:</div><div dir="ltr"><br></div><div>This is WRONG!</div><div><br></div><div dir="ltr">public static final String containerField_DEFAULT_VALUE = "children"; // type xs:NMTOKEN<br></div><div dir="ltr"><br></div><div>This is WRONG!</div><div><br></div><div>containerField_ALLOWED_VALUES = new String[] { "children" }; // type xs:NMTOKEN<br></div><div><br></div><div>X3DUOM:</div><div><br></div><div><ConcreteNode name="HAnimHumanoid"><br></div><div>[ snip ]</div><div><!-- THIS IS WRONG! --></div><div><containerField default="children" type="xs:NMTOKEN"/></div><div>[ snip ]</div><div><div> </ConcreteNode> </div><div><br></div><div>[ There's NO children field here!--And that may be ok! ]</div><pre style="font-size:11.05px;margin-left:25px;font-family:monospace;color:rgb(0,0,0)">HAnimHumanoid : X3DChildNode, X3DBoundedObject {
SFVec3f [in,out] center 0 0 0 (-∞,∞)
SFString [in,out] description ""
SFBool [in,out] bboxDisplay FALSE
MFString [in,out] info []
MFVec3f [in,out] jointBindingPositions [] (-∞,∞)
MFRotation [in,out] jointBindingRotations [] [-1,1] or (-∞,∞)
MFVec3f [in,out] jointBindingScales [] (0,∞)
MFNode [in,out] joints [] [HAnimJoint]
SFInt32 [in,out] loa -1 [-1,4]
SFNode [in,out] metadata NULL [X3DMetadataObject]
MFNode [in,out] motions [] [HAnimMotion]
MFBool [in,out] motionsEnabled []
SFString [in,out] name ""
SFRotation [in,out] rotation 0 0 1 0 [-1,1] or (-∞,∞)
SFVec3f [in,out] scale 1 1 1 (0,∞)
SFRotation [in,out] scaleOrientation 0 0 1 0 [-1,1] or (-∞,∞)
MFNode [in,out] segments [] [HAnimSegment]
MFNode [in,out] sites [] [HAnimSite]
SFString [in,out] skeletalConfiguration "BASIC"
MFNode [in,out] skeleton [] [HAnimJoint, HAnimSite]
MFNode [in,out] skin [] [Group, LOD, Shape, Switch, Transform, IndexedFaceSet, IndexedFanSet, IndexedLineSet, IndexedQuadSet, IndexedTriangleSet, IndexedTriangleStripSet]
SFNode [in,out] skinBindingCoords NULL [Coordinate|CoordinateDouble]
SFNode [in,out] skinBindingNormals NULL [X3DNormalNode]
SFNode [in,out] skinCoord NULL [Coordinate|CoordinateDouble]
SFNode [in,out] skinNormal NULL [X3DNormalNode]
SFVec3f [in,out] translation 0 0 0 (-∞,∞)
SFString [in,out] version "2.0" ["2.0"]
MFNode [in,out] viewpoints [] [HAnimSite]
SFBool [in,out] visible TRUE
SFVec3f [] bboxCenter 0 0 0 (-∞,∞)
SFVec3f [] bboxSize -1 -1 -1 [0,∞) or −1 −1 −1 </pre><div><span style="font-size:11.05px;color:rgb(0,0,0)">}</span> </div></div><div><br></div><div>======================================================</div><div>Here's containerField for Group in X3DUOM. HAnimHumanoid needs something like this.</div><div><br></div><div> <containerField default="children" type="containerFieldChoicesGroupLODShapeTransformSwitch"/><br></div><div><br></div><div>[ refers to: ]</div><div><br></div><div><div> <SimpleType name="containerFieldChoicesGroupLODShapeTransformSwitch"</div><div> baseType="xs:NMTOKEN"</div><div> appinfo="containerFieldChoicesGroupLODShapeTransformSwitch lists the allowed containerField enumeration values for Shape, Transform and LOD nodes: "children" if parent node has abstract type X3DGroupingNode, otherwise "metadata" default."</div><div> documentation="<a href="https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#containerField" target="_blank">https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#containerField</a>"></div><div> <enumeration value="children"</div><div> appinfo="parent node has abstract type X3DGroupingNode"/></div><div> <enumeration value="proxy" appinfo="parent node is Collision"/></div><div> <enumeration value="rootNode" appinfo="parent node is GeoLOD"/></div><div> <enumeration value="shape" appinfo="parent node is CADFace or CollidableShape"/></div><div> <enumeration value="skin" appinfo="parent node is HAnimHumanoid"/></div><div> </SimpleType></div></div><div>======================================================</div><div><br></div><div>We need something like:</div><div><br></div><div><SimpleType name="containerFieldChoicesHAnimHumanoid"<br></div><div><br></div><div>with enumerations, then refer to the node in the HAnimHumanoid type.</div><div><br></div><div>Have I isolated the problem, or do I need to step into X3D Schema?</div><div><br></div><div>Hmm? Do we need a default container field for HAnimHumanoid? Can we leave off a default?</div><div><br></div><div>I don't want to program XML, no thanks!</div></div></div></div></div></div></div></div></div></div></div>
</blockquote></div></div>