RDF/menupopup Template not working in Firefox 3.0

Chris <[email protected]> Thu, 10 Jan 2008 12:42:04 -0800 (PST)
Newsgroups gmane.comp.mozilla.devel.rdf
Organization http://groups.google.com
Message-ID <5cbda423-d28e-4420-be3f-337c89b2cd13__47522.9876734831$1199997935$gmane$org@i3g2000hsf.googlegroups.com>
Versions: Firefox 3.0b2 & Firefox 3.0 CVS HEAD

I am trying to bind a RDF to a menupopup in FF3.  The code works find
in
FF2.  But in FF3, none of the menu items appear.  I know that the
datasource
loads, because I can traverse through it via Javascript.

I have looked through the FF3 changes, and I didn't see anything
changes that
would effect the code.

RDF File:

<?xml version="1.0" encoding="UTF-8"?>
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:SITE="http://www.test.com/rdf#">

  <RDF:Seq RDF:about="http://www.test.com/root">
    <RDF:li RDF:resource="http://www.test.com/107478"/>
    <RDF:li RDF:resource="http://www.test.com/107479"/>
  </RDF:Seq>

  <RDF:Description RDF:about="http://www.test.com/107478">
    <SITE:type>entry</SITE:type>
    <SITE:id>1</SITE:id>
    <SITE:name>Item one</SITE:name>
  </RDF:Description>
  <RDF:Description RDF:about="http://www.test.com/107479">
    <SITE:type>entry</SITE:type>
    <SITE:id>2</SITE:id>
    <SITE:name>Item two</SITE:name>
  </RDF:Description>
</RDF:RDF>

XUL:

<toolbox>
  <toolbar>
    <toolbarbutton
      datasources="rdf:null"
      xmlns:SITE="http://www.test.com/rdf#"
      ref="http://www.test.com/root"
      name="testMenu"
      type="menu"
      id="testMenu"
      label="TheMenu">

      <template>
        <rule SITE:type="entry">
          <menupopup>
            <menuitem uri="rdf:*"
                      class="menuitem-iconic bookmark-item"
                      id="rdf:http://www.test.com/rdf#id"
                      label="rdf:http://www.test.com/rdf#name"/>
            </menupopup>
        </rule>
      </template>
    </toolbarbutton>
  </toolbar>
</toolbox>


Many thanks,
Chris.