[x3d-public] Resolving errors in X3D-Edit, Re: Rigid Body Physics
John Carlson
yottzumm at gmail.com
Sun Nov 23 19:15:31 PST 2025
Note that X3D DTD doesn’t have body1 and body2 :
https://www.web3d.org/specifications/X3dDoctypeDocumentation4.0.html#UniversalJoint
But they are in tooltips:
https://www.web3d.org/x3d/content/X3dTooltips.html#UniversalJoint
Hmm!
On Fri, Nov 21, 2025 at 9:43 AM John Carlson <yottzumm at gmail.com> wrote:
> Here's the errors in X3D-Edit QA log that I don't get! See thread for
> file.
>
> --------- 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
>
> On Fri, Nov 21, 2025 at 9:39 AM John Carlson <yottzumm at gmail.com> wrote:
>
>> I am getting errors in X3D-Edit in the QA textarea with the file in the
>> attached zip (compressed with the jar utility).
>>
>> Castle, for example, reports no issues in the attached file.
>>
>> Once the X3D-Edit issues are resolved, I'll move on to which browser can
>> render Jin as a Rigid Physics example.
>>
>> I haven't looked at Schematron errors yet, just trying to get the issues
>> above schematron report solved, involving body1 and body2.
>>
>> Thanks!
>>
>> John
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20251123/4df15152/attachment-0001.html>
More information about the x3d-public
mailing list