DiscussionsIssue archiveOCCT:Data Exchange

Archived issue #0023023

VRML reader fails on attempt to read an attached WRL file.

Open CASCADEOCCT:Data Exchangeclosed5 public notes

Search issues

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

Public activity

5 archived notes

Participants are labeled by their role within this record.

01Author
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.
02Commenter 2
Some unnecessary lines can be deleted, like 'continue' in this block of code. I made an update in the branch
03Author
The code looks better now. Danke :-) !
04Commenter 2
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
05Commenter 1
Integrated into master

Related records