-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XML Parser Error: Unknown node type 'TEXT', you probably have insufficient component/profile statements. #125
Comments
Ahh, this is only an issue when I have profile=Interactive. If I go to Full it does not error about TEXT node type. |
Because it is now possible and because the Text component is a littler larger I made an external component of it and it is only loaded on demand now. This means for you the Interactive profile does not include the Text component and therefor you should add it manually if needed. X3D nodes are grouped in components and components are grouped in profiles. To add a component to your X3D world use the following example code. <X3D profile='Interactive' version='4.0'>
<head>
<component name='Text' level='1'/>
</head>
... Specification with list of components: You should use a profile you like, and add the missing components from which you use nodes. There can be as many component elements as you need. |
I now could get rid of the Texture3D.js asm warnings. But I really want to encourage you to use the right component/profile statements. |
Brill Thanks again! I see now from the Interactive profile that Text is not listed in the Components and levels section: Sorry I have raised a few bugs recently - It feels like I am turning into your #1 tester! .. I have learn lots along the way also! I have also make sure adding this head + component works with x3dom as I am keen to keep d3-x3d agnostic and work on both x3dom and x_ite). |
Don't bother to submit bug reports. Every issue is welcome. Component/profile statement are integral part of X3D and therefor well specified. Have a look at the Web3D.org examples archive, all examples have component/profile statements, and can be tests either in X3DOM or in X_ITE. |
x3dom ignores profiles and component statements to keep things simple and avoid traffic. |
Describe the bug
Seeing new console error in v8.3.0:
This error is not seen on version prior to v8.3.0.
I assume this is complaining about the following text elements used on the axis:
To Reproduce
Goto: https://raw.githack.com/jamesleesaunders/d3-x3d/master/examples/X_ITE/chart/SpotPlot.html
Open JS Console.
Environment:
Welcome to X_ITE X3D Browser v8.3.0:
Current Graphics Renderer
Name: Google Inc. (Apple) ANGLE (Apple, Apple M1 Pro, OpenGL 4.1)
WebGL version: WebGL 2.0 (OpenGL ES 3.0 Chromium)
Shading language: WebGL GLSL ES 3.00 (OpenGL ES GLSL ES 3.0 Chromium)
Chrome
OSX
The text was updated successfully, but these errors were encountered: