I thought I finished a big part of the MeAggregator FFS authentication scheme. Just to end up in an exception being thrown. I was puzzled, how could this happen, as I had been testing all the way so that each bit I changed didn’t change any behaviour in the FFS?
The answer: Well, although I kind of knew this was the case I’d hope the jabber account adresses could work as URI. According to the URI spec (RFC3986) URIs start with a scheme + “://”, such as “http://” or “mailto://”. Therefore I’d testedthat Jena could handle jabber account without scheme and it does. But when I serialize the model into a string (where I stream it), which is the last thing that happens when exporting a model the exeption is thrown.
Strange that Jena allows usage of URI all the way until the model is streamed! But hi, I can add a scheme to the jabber accounts, just a bit annoying now that I thought it worked… Luckily this was an easy bug to find 8)
No null schemes for Jena streams. That's quite catchy…