Re: RDF Containers in XUL Trees

R_O_O_K <[email protected]>
Newsgroups gmane.comp.mozilla.devel.rdf
Organization Aster City Cable
Message-ID <[email protected]>
Hi!

Well, Mozilla doesn't seem to go by the current spec very closely :)
(this rdf:instanceOf for example)
I figure out that the builder checks on the type assertion and the 
existence of nextVal predicate to decide whether or not he current 
object is a collection.

I have found no trace of "nextVal" in the spec.

The spec itself, on the other hand (AFAIK), says nothing about the case:
<rdf:Seq>
  <rdf:li/>
  <rdf:li/>
  <rdf:_1/>
</rdf:Seq>

Should it be interpreted as
<rdf:Seq>
  <rdf:_2/>
  <rdf:_3/>
  <rdf:_1/>
</rdf:Seq>

or
<rdf:Seq>
  <rdf:_1/>
  <rdf:_2/>
  <rdf:_1/>
</rdf:Seq>

The Moz's RDF flavor is somewhat different, but I believe fully usable.
Maybe there should be some bug to bring it up to date with the spec.
But for the time being, maybe it'd be better to simply document the 
differences.

Best Regards!
Michal Ziemski
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.