-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Control the RDF output format manually #277
base: master
Are you sure you want to change the base?
Conversation
@jadelkhoury need your help here. I just tested this PR on both refimpl and lyo-samples (against two live Jazz servers, which is relevant because this PR was trying to fix an issue for DNG). lyo-samples build went just fine: https://github.com/OSLC/lyo-samples/actions/runs/4703021261/jobs/8341007496 But the refimpl fails in https://github.com/oslc-op/refimpl/actions/runs/4703012037/jobs/8340986025#step:7:224 due to a bunch of class-not-found errors: There is no way this PR introduces this problem. Could you please check if this should be happening and where the fix is needed? |
1c84cfd
to
fba9e1d
Compare
Scratch that, I just realized this branch has not been rebased for quite a while and Refimpl test against The sample code for But hey, it was a good test of my new semi-automatic PR testing flow! |
3e44a71
to
14fee00
Compare
dddd698
to
fae096f
Compare
fae096f
to
98fd159
Compare
While I didn't see any breaking effect from the PR (labelling Breaking anyway, in case someone depends on this, cf. Hyrum's law), let's keep it until Lyo 6.0. I think we can aim for 6.0 release around Christmas because Jena plans to drop JDK 11 support in the fall and we will likely have to catch up before 2024. |
Additionally, I think it would be good to add a switch (JVM property, potentially) to control pretty/fast output format. E.g. we could use |
9b1d7ba
to
60946b8
Compare
60946b8
to
94223a7
Compare
4ef534e
to
51cb26d
Compare
b2cfc91
to
3a3f805
Compare
3a3f805
to
94791b4
Compare
94791b4
to
29dd914
Compare
29dd914
to
339ae67
Compare
d921d87
to
a82bdb6
Compare
Quality Gate failedFailed conditions |
2 similar comments
Quality Gate failedFailed conditions |
Quality Gate failedFailed conditions |
Signed-off-by: Andrew Berezovskyi <[email protected]>
a82bdb6
to
91a11f8
Compare
Description
Map RDF language to an exact format needed by https://jena.apache.org/documentation/io/rdf-output.html. This PR maps regular XML/RDF to
RDFXML_PLAIN
, which is NOT rdf/xml-ABBREV, unless ABBREV is chosen specifically:https://github.com/eclipse/lyo/blob/b-jena-format-spec/core/oslc4j-jena-provider/src/main/java/org/eclipse/lyo/oslc4j/provider/jena/AbstractOslcRdfXmlProvider.java#L152-L158
Potentially, allow for more RDF/XML config as per https://jena.apache.org/documentation/io/rdfxml_howto.html
Checklist
Issues
https://forum.open-services.net/t/doors-lyo-incompatibility/631/5