minor issues with DWCA Validator
Hi there,
As we implement a DWCA generator I've stumbled on a number of minor bits in reference to http://tools.gbif.org/dwca-validator/. I understand how to get around these things, but resolving them might lower the barrier to entry for others.
When I validate a DWCA
1) then I see a link 'Dublin Core' (http://code.google.com/p/darwincore/source/browse/trunk/dwca-reader/src/test...) that link is broken
2) and I have no metadata file then the instructions under Metadata as to what to do to resolve the problem (i.e. do next) are essentially unusable for the non-technically oriented
3) and I read this: "All null values are empty strings." in green and I get this immediately after "Error scanning records: java.lang.NullPointerException" then I am confused I would be less confused with a literal example of the issue
4) and I have an id column in [0], and that id column is mapped to nothing then I see under Darwin Core Occurrence 'Core Record ID mapped to nothing' and I think 'OK' then at the bottom of that list I see 'Unknown term http://purl.org/dc/terms/identifier mapped to column 0' and I am confused as to this (auto-mapping?) that has a namespace (http://purl.org/dc/terms/), and a term (identifier), both of which I have not referenced and I don't know what todo
Cheers, Matt
Update-
4) Was my issue (well, they all are really), I was using ' <field index="0" term="id"/> ' instead of '<id index="0"/>'
M
On Tue, Jan 10, 2017 at 1:53 PM, Matt Yoder diapriid@gmail.com wrote:
Hi there,
As we implement a DWCA generator I've stumbled on a number of minor bits in reference to http://tools.gbif.org/dwca-validator/. I understand how to get around these things, but resolving them might lower the barrier to entry for others.
When I validate a DWCA
- then I see a link 'Dublin Core'
(http://code.google.com/p/darwincore/source/browse/trunk/dwca-reader/src/test...) that link is broken
- and I have no metadata file then the instructions under Metadata as to what to do to
resolve the problem (i.e. do next) are essentially unusable for the non-technically oriented
- and I read this: "All null values are empty strings." in green and I get this immediately after "Error scanning records:
java.lang.NullPointerException" then I am confused I would be less confused with a literal example of the issue
- and I have an id column in [0], and that id column is mapped to nothing then I see under Darwin Core Occurrence 'Core Record ID
mapped to nothing' and I think 'OK' then at the bottom of that list I see 'Unknown term http://purl.org/dc/terms/identifier mapped to column 0' and I am confused as to this (auto-mapping?) that has a namespace (http://purl.org/dc/terms/), and a term (identifier), both of which I have not referenced and I don't know what todo
Cheers, Matt
Hi Matt,
thanks for spotting these issues. The validator is a GBIF effort and not part of the TDWG standard. We are working on a fully rewritten dwc archive validator that has a lot more potential. We hope to get it released by the end of february, but this might get postponed still. We will therefore probably leave the current validator as it is and focus on this new piece of code: https://github.com/gbif/gbif-data-validator
If you still have problems interpreting the current validators result please let me know the static html link of your result (at the top of the page) and I can take a look.
Best wishes, Markus
On 10 Jan 2017, at 23:06, Matt Yoder <diapriid@gmail.commailto:diapriid@gmail.com> wrote:
Update-
4) Was my issue (well, they all are really), I was using ' <field index="0" term="id"/> ' instead of '<id index="0"/>'
M
On Tue, Jan 10, 2017 at 1:53 PM, Matt Yoder <diapriid@gmail.commailto:diapriid@gmail.com> wrote: Hi there,
As we implement a DWCA generator I've stumbled on a number of minor bits in reference to http://tools.gbif.org/dwca-validator/. I understand how to get around these things, but resolving them might lower the barrier to entry for others.
When I validate a DWCA
1) then I see a link 'Dublin Core' (http://code.google.com/p/darwincore/source/browse/trunk/dwca-reader/src/test...) that link is broken
2) and I have no metadata file then the instructions under Metadata as to what to do to resolve the problem (i.e. do next) are essentially unusable for the non-technically oriented
3) and I read this: "All null values are empty strings." in green and I get this immediately after "Error scanning records: java.lang.NullPointerException" then I am confused I would be less confused with a literal example of the issue
4) and I have an id column in [0], and that id column is mapped to nothing then I see under Darwin Core Occurrence 'Core Record ID mapped to nothing' and I think 'OK' then at the bottom of that list I see 'Unknown term http://purl.org/dc/terms/identifier mapped to column 0' and I am confused as to this (auto-mapping?) that has a namespace (http://purl.org/dc/terms/), and a term (identifier), both of which I have not referenced and I don't know what todo
Cheers, Matt _______________________________________________ tdwg-content mailing list tdwg-content@lists.tdwg.orgmailto:tdwg-content@lists.tdwg.org http://lists.tdwg.org/mailman/listinfo/tdwg-content
participants (2)
-
Markus Döring
-
Matt Yoder