You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Short summary describing the issue. (3-5 sentences)
When I try to open a .ifczip that has a .ifcxml in it I get an NotSupportedException.
Assemblies and versions affected:
Which assemblies/packages and their versions are known to be affected. E.g. Xbim.Essentials 4.0.29
Steps (or code) to reproduce the issue:
zip a .ifcxml
try to open it
IModel model = IfcStore.Open(ifcFilename, null, -1, progressDelegate, XbimDBAccess.Read);
A simple set of steps to reproduce the issue. Provide a small sample file is required and/or
a small sample of the failing code (or reference a commit / gist)
Minimal file to reproduce the issue:
IFC files need to be zipped to be uploaded. Then just drag & drop here Samples.zip
This should be fixed in develop. I've pushed through to XBimXplorer so you can test.
Took a while to reproduce the issue: it only occurs when using a Progress delegate is provided on file open for zipped IfcXml streams. Root cause is that the DeflateStream is not seekable, so progress reporting was failing.
Short summary describing the issue. (3-5 sentences)
When I try to open a .ifczip that has a .ifcxml in it I get an NotSupportedException.
Assemblies and versions affected:
Which assemblies/packages and their versions are known to be affected. E.g. Xbim.Essentials 4.0.29
Steps (or code) to reproduce the issue:
IModel model = IfcStore.Open(ifcFilename, null, -1, progressDelegate, XbimDBAccess.Read);
A simple set of steps to reproduce the issue. Provide a small sample file is required and/or
a small sample of the failing code (or reference a commit / gist)
Minimal file to reproduce the issue:
IFC files need to be zipped to be uploaded. Then just drag & drop here
Samples.zip
Expected behavior:
Opening the .ifcxml within the .ifczip file
What would you expect to happen
Actual behavior or exception details:.
System.Exception: 'Error reading XML, Line=19, Position=251, Tag='''
Inner Exception: NotSupportedException: This operation is not supported.
https://github.com/xBimTeam/XbimEssentials/blob/master/Xbim.IO.MemoryModel/Xml/XbimXmlReader3.cs
It breaks at line 896 then it continues to fall through.
What actually is happening
Additional Details
Optional, details of the root cause if known.
Delete this section if you have no additional details to add.
The text was updated successfully, but these errors were encountered: