-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
Hi, Ruben,
I find another bug.
When I use IfcStepStreamingDeserializer to process data, It throws exception "Error on line 13334: No right parenthesis found in line". I debug the code, find that (line 239 to 248):
if (line.length() > 0 && line.charAt(0) == '#') {
while (line.endsWith("*/")) {
line = line.substring(0, line.lastIndexOf("/*")).trim();
}
if (line.endsWith(";")) {
processRecord(line);
} else {
return false;
}
}
while the line ends with ";", it will be considered as the end of one item. But I found a special ifc file, which contains an item as follow:
#13430 = IFCPROPERTYSINGLEVALUE ('970', '', IFCLABEL ('970;1;Einbauventil;;ZYLI;0;0;0;1;0;0;0;1;0;44;10;
'), $);
In this case, the line will be parsed as "#13430 = IFCPROPERTYSINGLEVALUE ('970', '', IFCLABEL ('970;1;Einbauventil;;ZYLI;0;0;0;1;0;0;0;1;0;44;10;". And an exception is thrown.
Metadata
Metadata
Assignees
Labels
No labels