Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 87499 invoked by uid 500); 15 May 2003 17:17:22 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Delivered-To: moderator for cocoon-users@xml.apache.org Received: (qmail 38462 invoked from network); 15 May 2003 16:55:26 -0000 Message-ID: <4C93CFC543ECD611A291001083FD49395402C0@beta.munich.12snap.com> From: Jorg Heymans To: "'cocoon-users@xml.apache.org'" Subject: Deli legacy profiles not merging Date: Thu, 15 May 2003 17:54:09 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C31B02.9AD8A640" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C31B02.9AD8A640 Content-Type: text/plain Hi, I have switched on deli for my configuration and got it working, although only partially I think. I have defined a few more legacyprofiles in the config file, and when I switch on debugging I can see that the proper RDF file gets loaded from the repository and put into the deli cache. (you can see this in the servlet system out if you enable all debug in deliConfig.xml) However, when using the deli_test.xsl stylesheet that comes with cocoon I can't access the attributes defined in the RDF file. The stylesheet does things like ScreenSize:
This however comes up empty in the browser, although my RDF profile contains a setting for it 101x80 T300R101 ...... The only properties i can get are ColorCapable: Yes TextInputCapable: Yes ImageCapable: Yes CcppAccept: image/gif, image/jpeg, text/html, BrowserName: Mozilla TablesCapable: Yes ImageCapable: Yes Keyboard: Qwerty StandardFontProportional: Yes SoundOutputCapable: Yes TextInputCapable: Yes AcceptDownloadableSoftware: No Vendor: Netscape FramesCapable: Yes Any thoughs on what is causing this ? I'm using cocoon 2.0.4 (minimal version as explained on http://wiki.cocoondev.org/Wiki.jsp?page=CreateMinimalWebapp) Thanks Jorg ------_=_NextPart_001_01C31B02.9AD8A640 Content-Type: text/html Content-Transfer-Encoding: quoted-printable

Hi,

 

I have switched on deli for my configuration and got = it working, although only partially I think.

I have defined a few more legacyprofiles in the config file, and when I switch on = debugging I can see that the proper RDF file gets loaded from the repository and = put into the deli cache. (you can see this in the = servlet system out if you enable all debug in = deliConfig.xml)

However, when using the deli_test.xsl stylesheet that comes with cocoon I can't access = the attributes defined in the RDF file. The stylesheet does things like

 

<xsl:if test=3D"$deli-capabilities/browser/ScreenSize">

ScreenSize: <xsl:value-of select=3D"$deli-capabilities/browser/ScreenSize"/><br/>

</xsl:if>

 

This however comes up empty in the browser, although my RDF = profile contains a setting for it

  <rdf:Description = ID=3D"Profile">

    = <prf:component>

      <rdf:Description ID=3D"HardwarePlatform">

        = <prf:ScreenSize>101x80</prf:ScreenSize>

        = <prf:Model>T300R101</prf:Model&g= t;

......=

 =

The only properties i can get are =

ColorCapable: Yes
TextInputCapable: Yes
ImageCapable: Yes
CcppAccept: image/gif, image/jpeg, = text/html,
BrowserName
: Mozilla
TablesCapable: Yes
ImageCapable: Yes
Keyboard: Qwerty
StandardFontProportional: Yes
SoundOutputCapable: Yes
TextInputCapable: Yes
AcceptDownloadableSoftware: No
Vendor: Netscape
FramesCapable: Yes

 

 

Any thoughs on what is causing = this ? I'm using cocoon 2.0.4 (minimal version as explained on = http://wiki.cocoondev.org/Wiki.jsp?page=3DCreateMinimalWebapp)

 

 

Thanks

Jorg

------_=_NextPart_001_01C31B02.9AD8A640--