Menu

#77 Errors in X3D-Edit QA? UniversalJoint

X3D4
closed
None
2025-11-24
2025-11-24
No

Here's the errors in X3D-Edit QA log that I don't get!
Castle doesn't report errors.

--------- X3D Validator checks commenced for RigidJin.x3d ---------

Performing well-formed XML check...
Checking file:/C:/Users/jcarl/HAnimUtilityKit/RigidJin.x3d...
Well-formed XML check: pass

Performing DOCTYPE check...
[X3dDoctypeChecker] success: valid XML declaration found.[X3dDoctypeChecker] success: final X3D 4.0 DOCTYPE found.

Performing DTD validation...
Checking file:/C:/Users/jcarl/HAnimUtilityKit/RigidJin.x3d...
Referenced entity at "http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd".
Referenced entity at "http://www.w3.org/2001/XMLSchema.dtd".
Referenced entity at "jrt:/java.xml/jdk/xml/internal/jdkcatalog/w3c/dtd/schema10/datatypes.dtd".
Attribute "body1" must be declared for element type "UniversalJoint".
Attribute "body2" must be declared for element type "UniversalJoint".
cvc-complex-type.3.2.2: Attribute 'body1' is not allowed to appear in element 'UniversalJoint'.
cvc-complex-type.3.2.2: Attribute 'body2' is not allowed to appear in element 'UniversalJoint'.
Attribute "body1" must be declared for element type "UniversalJoint".
Attribute "body2" must be declared for element type "UniversalJoint".
cvc-complex-type.3.2.2: Attribute 'body1' is not allowed to appear in element 'UniversalJoint'.
cvc-complex-type.3.2.2: Attribute 'body2' is not allowed to appear in element 'UniversalJoint'.
Attribute "body1" must be declared for element type "UniversalJoint".
Attribute "body2" must be declared for element type "UniversalJoint".
cvc-complex-type.3.2.2: Attribute 'body1' is not allowed to appear in element 'UniversalJoint'.
cvc-complex-type.3.2.2: Attribute 'body2' is not allowed to appear in element 'UniversalJoint'.
Attribute "body1" must be declared for element type "UniversalJoint".
Attribute "body2" must be declared for element type "UniversalJoint".
cvc-complex-type.3.2.2: Attribute 'body1' is not allowed to appear in element 'UniversalJoint'.
cvc-complex-type.3.2.2: Attribute 'body2' is not allowed to appear in element 'UniversalJoint'.
Attribute "body1" must be declared for element type "UniversalJoint".
Attribute "body2" must be declared for element type "UniversalJoint".
cvc-complex-type.3.2.2: Attribute 'body1' is not allowed to appear in element 'UniversalJoint'.
Too many errors, stopping further checking.
XML DTD validation: fail!

Performing X3D schema validation...
Checking file:/C:/Users/jcarl/HAnimUtilityKit/RigidJin.x3d...
Referenced entity at "http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd".
Referenced entity at "http://www.w3.org/2001/XMLSchema.dtd".
Referenced entity at "jrt:/java.xml/jdk/xml/internal/jdkcatalog/w3c/dtd/schema10/datatypes.dtd".
Attribute "body1" must be declared for element type "UniversalJoint".
Attribute "body2" must be declared for element type "UniversalJoint".
cvc-complex-type.3.2.2: Attribute 'body1' is not allowed to appear in element 'UniversalJoint'.
cvc-complex-type.3.2.2: Attribute 'body2' is not allowed to appear in element 'UniversalJoint'.
Attribute "body1" must be declared for element type "UniversalJoint".
Attribute "body2" must be declared for element type "UniversalJoint".
cvc-complex-type.3.2.2: Attribute 'body1' is not allowed to appear in element 'UniversalJoint'.
cvc-complex-type.3.2.2: Attribute 'body2' is not allowed to appear in element 'UniversalJoint'.
Attribute "body1" must be declared for element type "UniversalJoint".
Attribute "body2" must be declared for element type "UniversalJoint".
cvc-complex-type.3.2.2: Attribute 'body1' is not allowed to appear in element 'UniversalJoint'.
cvc-complex-type.3.2.2: Attribute 'body2' is not allowed to appear in element 'UniversalJoint'.
Attribute "body1" must be declared for element type "UniversalJoint".
Attribute "body2" must be declared for element type "UniversalJoint".
cvc-complex-type.3.2.2: Attribute 'body1' is not allowed to appear in element 'UniversalJoint'.
cvc-complex-type.3.2.2: Attribute 'body2' is not allowed to appear in element 'UniversalJoint'.
Attribute "body1" must be declared for element type "UniversalJoint".
Attribute "body2" must be declared for element type "UniversalJoint".
cvc-complex-type.3.2.2: Attribute 'body1' is not allowed to appear in element 'UniversalJoint'.
Too many errors, stopping further checking.
XML schema validation: fail!

Performing X3D regular expression (regex) values check...
X3D regex check: complete

1 Attachments

Discussion

  • John W Carlson

    John W Carlson - 2025-11-24

    note that I took this example as the correct was to do things

    <balljoint def="PJ_hanim_l_hip" body1="RB_hanim_sacrum" body2="RB_hanim_l_thigh" anchorpoint="0.0961 0.9124 -0.0001"></balljoint>

    The other way to do it requires USE if RigidBodys are referenced twice. What I plan to do is use use USE for body1, assuming I can use a containerField='body1' with USE. Maybe I'll do that with body2 as well and put the RigidBodys in the collections in the bodies field (done). closing for now

     
  • John W Carlson

    John W Carlson - 2025-11-24
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB