OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

xdi message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [xdi] proposal for binary data literal node



Markus,

Thanks for the quick response!

1. Yes, you could have both a ! and !! arc, why not? It doesn't seem inherently problematic to me.

2. yes, you're right I forgot the / for the literal arc :)

3. !! was just an idea... it could be something else.

4. Its useful to be able to differentiate binary data from other types of
   data because there persistence strategy varies greatly.


- Mike



1. Could you have BOTH a binary and a non-binary literal in a context? I.e.
have a ! arc and a !! arc.
If not, will the server throw an error if you already have one literal and
try to add the other one?

2. In your example, wouldn't the XRI actually be @!1111*logo/!! instead of
@!1111*logo!!  ?

3. Something is bothering me about the fact that !! is two subsegments. I
am worried it will result in ambiguity in one way or the other.

4. I don't understand why you can't load the metadata together with the
literal, to figure out whether it is binary or not.
Wasn't this the whole point of what Drummond called "literal contexts"?

Markus

On Thu, Mar 1, 2012 at 9:49 PM, Michael Schwartz <mike@gluu.org> wrote:


XDI TC:

I'm attaching a proposal to represent binary literal values as "!!"

So, for example, the XRI for a my company's logo might be :
 @!1111*logo!!

The fact that the image is a binary can't be represented in the metadata,
because it is not known which will be loaded first, the literal node, or
the metadata about the literal node.

This is a critical issue to optimize persistence of binary objects, which
need to be indexed differently.

I'd like to fast track this because we need to store binaries as part of
the oxPlus demo :)

Thoughts?

thx,

- Mike


---------------------------------------------------------------------
To unsubscribe, e-mail: xdi-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: xdi-help@lists.oasis-open.org




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]