frizbog / gedcom4j

Java library for reading/writing genealogy files in GEDCOM format
http://gedcom4j.org
54 stars 36 forks source link

Validation findings should include an optional name of the field/property with the finding #136

Closed frizbog closed 8 years ago

frizbog commented 8 years ago

GedcomValidationFinding should include the property name (per Javabean spec) that holds the value in question (if a specific field is the problem). Callers could then use reflection to access the property (by its name) on the object (by its reference), perhaps using Apache Beanutils, to see the problematic values and make changes.

frizbog commented 8 years ago

A copy of the offending value(s) should also be kept in the finding, however.

frizbog commented 8 years ago

There's a field for it now in ValidationFinding but nothing is populating it yet.