Modify ↓
Ticket #299 (assigned defect)
ignores rather than errors when versions in doap file are incomplete
| Reported by: | Jelmer Vernooij <jelmer@…> | Owned by: | thomas |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.2.7 |
| Component: | moap | Version: | TRUNK |
| Keywords: | Cc: |
Description
If not all the required tags are used in a <version> tag in the DOAP file, moap will simply ignore the version. It would be useful if it could say what was wrong with the entry.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

I agree.
I looked at the code and first thought about wrapping all the WHERE clauses into OPTIONAL, but that looks like the wrong approach.
The point of using structured documents with a defined syntax is that you should be able to validate them. I don't know how this is done with RDF and redland though; I sent a mail to the doap list to ask for advice.