Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Leniently handle non-well-formed data and faithfully reproduce it on output #591
Here's one option for addressing https://www.pivotaltracker.com/story/show/81380614
The current behavior (in
Or, we do tons more work and make it opt-in the repository configuration, or get really clever and make it opt-in at the request
Hm. It's a good point/question. I guess I'm inclined to do what you do here. Validation was a very interesting feature to me in the early days of Fedora 4, but it got shot down very strongly by other folks, and today, I'm inclined to leave it as a frontier for add-on modules. I guess we should let people store what they store. This plays a bit into the question about how to store typed literals. If we don't ascribe a type in the JCR to RDF-typed literals, and we don't do any processing on them that would make use of that type-safety, then what's the harm?
I'm not sure what the expectations placed on Fedora are. Is it a gate-keeper of correctness? Are we imposing burdens on clients by accepting and reproducing garbage? Or is the user always right?
(and, I think lenient handling is probably preferred, at least in the short-term)