This project has moved and is read-only. For the latest updates, please go here.

Element naming convention

Jun 28, 2014 at 12:42 PM

Thanks for an awesome library - it has help me me so much! EDI formats aren't exactly straight forward to work with - but this library makes it as easy as it possibly can be!

Just one thing that I can't quiet understand is the reason for naming the elements in this weird way. A number of other libraries (including other languages and platforms) seem to use the [Element Type][Element sequence] (sorry for the terminology - I don't quiet know the correct terms to use)

In other words - it would make a lot more sense to name the elements like this: ISA01 ISA02 ISA03 etc rather than D_744_1 D_745_2 D_746_3

I'm sure there must be a reason for this - but I can't quiet see it. Can someone explain it to me?

Jul 11, 2014 at 12:03 PM

The naming convention is based on ISO/TS 20625, which at the time seemed like a good choice as it has short names, which keep the size of the generated xml low.