Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect importer for XML files #380

Open
kaklakariada opened this issue Feb 11, 2024 · 0 comments
Open

Detect importer for XML files #380

kaklakariada opened this issue Feb 11, 2024 · 0 comments

Comments

@kaklakariada
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Currently OFT decides on the file name which importer to use. This means that only one importer (i.e. SpecobjectImporterFactory') can import files with the .xmlsuffix. Also a project might contain XML files in a different format (e.g. Maven'spom.xmlfiles) thatSpecobjectImporterFactory' does not support and will log a warning about.

Describe the solution you'd like
We need an XML detector that determines the type of XML files based on the content and delegates to the relevant XML importer.

Describe alternatives you've considered
Using different file suffixes for all XML based formats might not be sufficient in all projects.

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: ▶️ Ready to Start
Development

No branches or pull requests

2 participants