Compatibility with Onix 3
enricodeleo opened this issue · comments
Hi and thank you for this great module. I'm trying to parse an Onix 3 file but it only returns record, notification and id data.
Eg:
{
"record": "provider.com-123456",
"notification": 3,
"id": {
"type": 15,
"value": "9563128702206"
}
}
Am I missing something? Do this module parse version 3 onix files?
Thank you in advance for any help!
@enricodeleo you are not missing something, this module does not support ONIX 3. I have started to make a fork with very basic support for ONIX 3 here: https://github.com/christianroy/node-onix. Tag support is limited to the strict minimum I need in my current project, but I guess the basics are there if you want to add what you need.
@SamyPesse If this seems of interest to you, I can of course submit a PR for my ONIX 3 support stub.