Archived issue #0023023
VRML reader fails on attempt to read an attached WRL file.
Description
VRML reader fails on attempt to read an attached WRL file. Different position of the closing square bracket ] causes the problem. The reader admits only one position of the bracket. Indeed, there are several variants of its location.
Steps to reproduce
Load the attached WRL file by the draw-command:
>loadvrml S Attachment 1 (WRL)
It returns:
> ++ VRML Error: VrmlFormatError in line 615
>loadvrml S Attachment 1 (WRL)
It returns:
> ++ VRML Error: VrmlFormatError in line 615
Public activity
5 archived notes
Participants are labeled by their role within this record.
The bug is fixed. The file VrmlData_Geometry.cxx is put into a branch http://svn/svn/occt/branches/23023. The only modified method is TextureCoordinate::Read(). An error (VrmlFormatError) is replaced by a "continue" statement.
Some unnecessary lines can be deleted, like 'continue' in this block of code. I made an update in the branch
The code looks better now. Danke :-) !
Dear Commenter 1,
SVN branch http://svn/svn/occt/branches/23023 has been moved to GIT CR23023 one.
Workbench KAS:dev:apn-23023-occt was created from git branch CR23023 (and apn-23023-products from svn trunk) and compiled on Linux platform.
There are not regressions in apn-23023-products regarding to KAS:dev:products-20120320-opt
Test case for this fix is chl 934 W5. It's OK.
See results in /QADisk/occttests/results/KAS/dev/apn-23023-products_22032012/lin
See reference results in /QADisk/occttests/results/KAS/dev/products-20120320-opt_20032012/lin
See test cases in /QADisk/occttests/tests/ED
SVN branch http://svn/svn/occt/branches/23023 has been moved to GIT CR23023 one.
Workbench KAS:dev:apn-23023-occt was created from git branch CR23023 (and apn-23023-products from svn trunk) and compiled on Linux platform.
There are not regressions in apn-23023-products regarding to KAS:dev:products-20120320-opt
Test case for this fix is chl 934 W5. It's OK.
See results in /QADisk/occttests/results/KAS/dev/apn-23023-products_22032012/lin
See reference results in /QADisk/occttests/results/KAS/dev/products-20120320-opt_20032012/lin
See test cases in /QADisk/occttests/tests/ED
Integrated into master
Related records