Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Ordered containers using RDF:_n tag form

15 views
Skip to first unread message

Geraint Edwards

unread,
Mar 1, 2006, 4:54:23 AM3/1/06
to
I am setting up RAP-RDF API for PHP to feed/manage a mozilla datasource
and have hit a problem.

RAP serializes the data graph using ordinal tags (for both SEQs and
BAGs). eg:

<RDF:Seq>
<RDF:_1>...
<RDF:_2>...
...
</RDF:Seq>

as opposed to:

<RDF:Seq>
<RDF:li>...
<RDF:li>...
...
</RDF:Seq>

When I load this datasource into mozilla the containers all appear empty
to mozilla (GetCount() always returns 0).

Is there anyway to tell Mozilla to expect the container SEQ to have
ordinal tags instead of simple RDF:li tags?

The ordinal tags are very useful on the server since they allow
resequencing for ordered containers (SEQ) to be managed fairly easily.

Thanks

Geraint

p.s. I also have the same problem with a similar example at xulplanet
http://xulplanet.com/tutorials/mozsdk/rdfsyntax.php

Axel Hecht

unread,
Mar 1, 2006, 8:54:31 AM3/1/06
to
https://bugzilla.mozilla.org/show_bug.cgi?id=106516 is the appropriate
bug. I used to work on a patch to remove this problem, but it bitrots
somewhere, and honestly, right now, I don't even know which bug that
progress was in.

Axel

Geraint Edwards

unread,
Mar 1, 2006, 11:34:26 AM3/1/06
to
Axel Hecht wrote:
> https://bugzilla.mozilla.org/show_bug.cgi?id=106516 is the appropriate
> bug. I used to work on a patch to remove this problem, but it bitrots
> somewhere, and honestly, right now, I don't even know which bug that
> progress was in.
>
> Axel

I'll probably write a modification to the server code to provide RDF:li
data but using a additional attribute to track the appropriate triplet
on the server. I'll have to see if I can get at the 'hidden' ordering
data within 'mozilla' so I can keep both sides in sync.

Thanks for finding the bug

Geraint

Carol28Nash

unread,
Mar 10, 2011, 12:22:20 PM3/10/11
to
freelance writer


0 new messages