parsing attributes in provn
Closed this issue · 4 comments
dtm commented
The provn parser accepts a document in which an attribute list is missing either or both of their [ ] characters. Eg
document
prefix ex http://example.com/
entity(ex:a, ex:b='ex:c')
endDocument
It does warn, however.
lucmoreau commented
Test case:
curl https://gist.githubusercontent.com/lucmoreau/056a7caeef23f1d8f65c/raw/402760acbd5544983540896c70364a79933e631e/gistfile1.txt | provconvert -infile - -informat provn -outfile - -outformat provn
lucmoreau commented
The following commit redirects the parser warnings to the log4j logging infrastructure.
lucmoreau commented
The question is whether does should be a warning or whether it should be a fatal reporting?