{"action":"created","issue":{"url":"https://api.github.com/repos/xBimTeam/XbimEssentials/issues/232","repository_url":"https://api.github.com/repos/xBimTeam/XbimEssentials","labels_url":"https://api.github.com/repos/xBimTeam/XbimEssentials/issues/232/labels{/name}","comments_url":"https://api.github.com/repos/xBimTeam/XbimEssentials/issues/232/comments","events_url":"https://api.github.com/repos/xBimTeam/XbimEssentials/issues/232/events","html_url":"https://github.com/xBimTeam/XbimEssentials/issues/232","id":391257104,"node_id":"MDU6SXNzdWUzOTEyNTcxMDQ=","number":232,"title":"Xbim Parser Exception: Too many errors. XbimXplorer opens normaly","user":{"login":"brayner1","id":18320203,"node_id":"MDQ6VXNlcjE4MzIwMjAz","avatar_url":"https://avatars2.githubusercontent.com/u/18320203?v=4","gravatar_id":"","url":"https://api.github.com/users/brayner1","html_url":"https://github.com/brayner1","followers_url":"https://api.github.com/users/brayner1/followers","following_url":"https://api.github.com/users/brayner1/following{/other_user}","gists_url":"https://api.github.com/users/brayner1/gists{/gist_id}","starred_url":"https://api.github.com/users/brayner1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brayner1/subscriptions","organizations_url":"https://api.github.com/users/brayner1/orgs","repos_url":"https://api.github.com/users/brayner1/repos","events_url":"https://api.github.com/users/brayner1/events{/privacy}","received_events_url":"https://api.github.com/users/brayner1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-14T20:06:17Z","updated_at":"2018-12-17T08:49:12Z","closed_at":"2018-12-14T22:55:29Z","author_association":"NONE","body":"I'm using Xbim Essentials v.4.0.29, and i'm getting the following exception:\r\nXbim.Common.Exceptions.XbimParserException: 'Too many errors in file, parser execution terminated\r\n\r\nI have searched the problem in the internet, and found the [Issue #231 \r\n127](https://github.com/xBimTeam/XbimEssentials/issues/127), and understood that it is an error in which these files are not IFC4 schema compliant. \r\nBut the reason i'm opening this issue is that the latest XbimXplorer downloaded from the Xbim website is opening the same file normaly. It throws 100 of the following error:\r\n==== 16:50\tERROR\tXbim.IO.Step21.XbimP21Parser\r\nEntity #2221325 IFCRELCONNECTSPORTTOELEMENT, error at parameter 6-RelatedElement value = #1253092=IFCBUILDINGELEMENTPROXY\r\n\r\nBut in the end, the file is loaded and the model appears in the viewer.\r\n\r\nThe error is exactly on the following line of code:\r\n\r\n```csharp\r\nusing (var model = IfcStore.Open(Path.ChangeExtension(inPath, \"ifc\")))\r\n{\r\n    ...\r\n}\r\n```\r\nIs there any way to just ignore these errors, like the XbimXplorer is aparently doing?\r\n\r\nUnfortunely, i can't share the file publicly, because it is protected by and NDA.\r\n\r\nThank you,\r\nRodrigo\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/xBimTeam/XbimEssentials/issues/comments/447766151","html_url":"https://github.com/xBimTeam/XbimEssentials/issues/232#issuecomment-447766151","issue_url":"https://api.github.com/repos/xBimTeam/XbimEssentials/issues/232","id":447766151,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Nzc2NjE1MQ==","user":{"login":"martin1cerny","id":773078,"node_id":"MDQ6VXNlcjc3MzA3OA==","avatar_url":"https://avatars1.githubusercontent.com/u/773078?v=4","gravatar_id":"","url":"https://api.github.com/users/martin1cerny","html_url":"https://github.com/martin1cerny","followers_url":"https://api.github.com/users/martin1cerny/followers","following_url":"https://api.github.com/users/martin1cerny/following{/other_user}","gists_url":"https://api.github.com/users/martin1cerny/gists{/gist_id}","starred_url":"https://api.github.com/users/martin1cerny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martin1cerny/subscriptions","organizations_url":"https://api.github.com/users/martin1cerny/orgs","repos_url":"https://api.github.com/users/martin1cerny/repos","events_url":"https://api.github.com/users/martin1cerny/events{/privacy}","received_events_url":"https://api.github.com/users/martin1cerny/received_events","type":"User","site_admin":false},"created_at":"2018-12-17T08:49:12Z","updated_at":"2018-12-17T08:49:12Z","author_association":"MEMBER","body":"You should have a look at the latest xBIM version. We have changed the way we count errors. We were counting every single error in the file before which was not scalable because most of these errors are systematic errors caused by certain patterns in some exporters producing invalid IFC data. In the latest version we count types of errors instead. So, if there is an invalid type assignment for example (assigning entity of certain type to attribute of incompatible type) we only count it once even if it appears thousand times in the file."}}
{"actor":{"display_login":"martin1cerny"}}