[Project_owners] removing empty containers from RDF?

Eric Jung grimholtz at yahoo.com
Fri Jul 22 06:42:47 EDT 2005


Hi, thanks for the replies, Axel and Wladimir.
Axel: are you saying this can't be done? I don't understand.

Thanks,
Eric


--- Axel Hecht <axel at pike.org> wrote:

> Wladimir Palant wrote:
> > Eric Jung wrote:
> > 
> >> I can't find any documentation on how to remove empty <RDF:Seq/>
> >> elements from an RDF datasource; e.g.:
> >>
> >> <RDF:Seq RDF:about="rdf:#$I+3xW1/fields">
> >> </RDF:Seq>
> >>
> >> Anyone know how to do this?
> > 
> > 
> > You have to remove all outgoing arks. Go through ArcLabelsOut()
> and 
> > unassert everything.
> > 
> 
> Empty containers still have the instanceOf and nextVal arcs. Both
> are in 
> the RDF namespace, and both are wrong. nextVal isn't RDF spec
> stuff, so 
> it should be in a separate namespace. And instanceOf should be
> type.
> 
> https://bugzilla.mozilla.org/show_bug.cgi?id=15006
> https://bugzilla.mozilla.org/show_bug.cgi?id=90566
> https://bugzilla.mozilla.org/show_bug.cgi?id=98392
> 
> Axel
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Project_owners mailing list