pm4py / pm4py-core

Public repository for the PM4Py (Process Mining for Python) project.
https://pm4py.fit.fraunhofer.de
GNU Affero General Public License v3.0
741 stars 287 forks source link

Added support for XES composite list attributes #463

Closed ondrisvu closed 9 months ago

ondrisvu commented 9 months ago

The 'iterparse' read_xes variant failed reading XES event logs, which contained lists consisting of composite attributes (1/ an attribute with meta-attributes or 2/ another list).

This small PR fixes that incosistency. In addition, a minimal XES event log, with both of the aforementioned composite-list-attribute examples, was added to the existing collection of unit tests.

etm commented 9 months ago

This fix also includes a test case, to demonstrate the error and the solution. Please consider for inclusion, as this will be the basis for a series of PRs that improve the compatibility with more log formats and XES extensions in the IoT space. (Juergen Mangler, TUM).