Browser fails to open X3D file with UNIT statement
The presence of a UNIT statement in the head causes the browser to fail to open file, with console error message:
Loading: file:/Users/vmarchetti/Desktop/Xj3D_April_2021/example_x3d_files/le7abrep.x3d Error: Error parsing XML
No Scene element was defined before starting the file body.
... stack trace
Error: Unknown error in content loading process
Failed to parse file
examples are attached, the file with (misspelled) name le7abrep_no_unir_statement.x3d is displayed, the file le7abrep.x3d fails to open. le7abrep.x3dle7abrep_no_unir_statement.x3d