[
https://issues.apache.org/jira/browse/JENA-200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rob Vesse updated JENA-200:
---------------------------
Attachment: TSVInputPatchNullHeader3.patch
This is a further revision to Andy's patch.
It adds an additional check on empty lines because if there is two or more
variables then even if the row is empty it should contain some tab separators,
an empty line is only valid to represent an empty row if there is zero/one
variables since in those cases there would be no tab separators on any line
Also adds further tests
This should be applied in place of Andy's patch since it incorporates all those
changes and just includes the additional checks and tests
> TSVInput does not check for malformed header row
> ------------------------------------------------
>
> Key: JENA-200
> URL: https://issues.apache.org/jira/browse/JENA-200
> Project: Jena
> Issue Type: Bug
> Components: ARQ
> Affects Versions: ARQ 2.9.1
> Reporter: Rob Vesse
> Priority: Minor
> Fix For: ARQ 2.9.1
>
> Attachments: TSVEmptyNullHeaderPatch.patch,
> TSVInputPatchNullHeader2.patch, TSVInputPatchNullHeader3.patch
>
>
> As a side effect of discovering JENA-199 I noticed that TSVInput does not
> check for a malformed header row (null/empty)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira