Skip to content
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

Any plans for RDF/XML support in TripleEncoder? #9

Open
samuell opened this issue Sep 22, 2017 · 1 comment
Open

Any plans for RDF/XML support in TripleEncoder? #9

samuell opened this issue Sep 22, 2017 · 1 comment

Comments

@samuell
Copy link

samuell commented Sep 22, 2017

I'm running into the TODO-panic message in https://github.com/knakk/rdf/blob/master/encoder.go#L114-L116 , when trying to encode triples into RDF/XML, and was wondering if there are any plans to implement it? :)

(I might have a go at it at some point, but not sure how well that will go)

@boutros
Copy link
Member

boutros commented Sep 26, 2017

Oh, sorry about that! I haven't had a need for anything but parsing rdf/xml, so I totally forgot to implement the encoding part.

I'm not likely to work on it anytime soon, so by all means go ahead if you want. As long as it's working and not expanding the public API I will most likely merge it. One challenge is that a RDF graph can be expressed in so many different ways in rdf/xml. If there is a canonical form we can use that would be best, otherwise we may need some knobs to allow to specify how one want to encode a given node.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants