[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mozilla-rdf
Subject:    More RDF/Template weirdness
From:       emiliano () iris-advies ! nl
Date:       2003-10-14 17:38:42
[Download RAW message or body]

I still can't get the rdf/templates that I posted earlier to work (hints 
appreciated!), but I'm experimenting with templates that are closer to 
those in the lizard book, and things are still wacky.

With mailbox-box.xul, the 'tree' comes out mostly as intened, save for 
the fact that the list of jobs after the first instance of 
'pc13-lorentz' consistently only appears after I press 'refresh' on the 
browser. With mailbox-tree.xul, which is the same as mailbox-box.xul but 
targets a tree, I only see the toplevel elements, nothing else. If I 
remove the 'container="true"' I see the twisties and the 2nd level 
content, but only in Firebird, not Mozilla 1.5, and only until I 
refresh, after which only the toplevel remains, without twisties.

What's going on here?

Emiliano

["mailbox-tree.xul" (application/vnd.mozilla.xul+xml)]
["mailbox-box.xul" (application/vnd.mozilla.xul+xml)]
["mailbox_i.xml" (text/xml)]

<?xml version="1.0" encoding="iso-8859-1"?>
<rdf:RDF xmlns:oil="http://www.oce.com/OIL-RDF#" \
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">  <rdf:Description \
about="urn:root">  <oil:list>
         <rdf:Seq>
            <rdf:li>
               <rdf:Description ID="devicegroup3" oil:name="3G floor 1"/>
            </rdf:li>
            <rdf:li> 
               <rdf:Description ID="devicegroup2" oil:name="000"/>
            </rdf:li>
         </rdf:Seq>
      </oil:list>
   </rdf:Description>

   <rdf:Description about="#devicegroup3">
      <oil:list>
         <rdf:Seq>
            <rdf:li>
               <rdf:Description ID="device7"/>
            </rdf:li>
            <rdf:li>
               <rdf:Description ID="device11"/>        
            </rdf:li>        
            <rdf:li>           
               <rdf:Description ID="device12"/>        
            </rdf:li>        
            <rdf:li>           
               <rdf:Description ID="device1"/>        
            </rdf:li>
         </rdf:Seq>
      </oil:list>
   </rdf:Description>

   <rdf:Description about="#devicegroup2">
      <oil:list>
         <rdf:Seq>        
            <rdf:li>           
               <rdf:Description ID="device1"/>        
            </rdf:li>        
            <rdf:li>           
               <rdf:Description ID="device7"/>        
            </rdf:li>
         </rdf:Seq>
      </oil:list>
   </rdf:Description>

   <rdf:Description about="#device1">
      <oil:name>OIL-SI-LORENTZ</oil:name>
      <oil:list>
         <rdf:Seq/>
      </oil:list>
   </rdf:Description>

   <rdf:Description about="#device7">
      <oil:name>pc13-lorentz</oil:name>
      <oil:list>
         <rdf:Seq>
            <!-- these were missing -->
            <rdf:li>
               <rdf:Description ID="job_7_34311" oil:printed="false" \
oil:protected="2" oil:name="C:documents And Settingsemiledesktopcopy Of \
Dsc_1934.prn"/>  </rdf:li>
            <rdf:li>
               <rdf:Description ID="job_7_34312" oil:printed="false" \
oil:protected="2" oil:name="C:documents And \
Settingsadministratordesktopsimplifiedchinesesupport.txt"/>  </rdf:li>
         </rdf:Seq>
      </oil:list>
   </rdf:Description>

   <rdf:Description about="#device11">
      <oil:name>pc1-dac-lo</oil:name>
      <oil:list>
         <rdf:Seq/>
      </oil:list>
   </rdf:Description>

   <rdf:Description about="#device12">
      <oil:name>pr013</oil:name>
      <oil:list>
         <rdf:Seq/>
      </oil:list>
   </rdf:Description>
</rdf:RDF>


_______________________________________________
Mozilla-rdf mailing list
Mozilla-rdf@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-rdf

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic