RalphTro / epcis-event-hash-generator

ALGORITHM and SOFTWARE PROTOTYPE to uniquely identify/validate the integrity of any EPCIS event through a common, syntax-agnostic approach based on hashing. Takes an EPCIS Document (formatted in either XML or JSON-LD) and returns the corresponding hash value(s).
MIT License
8 stars 4 forks source link

Digital Link Syntax for EPCs #31

Closed Echsecutor closed 3 years ago

Echsecutor commented 3 years ago

Ralph wrote a separate Normalizer for this

Echsecutor commented 3 years ago

@RalphTro Interesting question that came up during testing:

Do we normalise values only from standard fields or also form user extension fields?

In examples/SensorDataExamples.xml there is a <example:machine>urn:epc:id:giai:4012345.ABC</example:machine>. Should normalise this value to https://id.gs1.org/8004/4012345ABC? I vote yes. ;)

RalphTro commented 3 years ago

Good catch, @Echsecutor ! I tend to agree with you. This way, it's more unambiguous.