You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Ovidiu Predescu <ov...@cup.hp.com> on 2002/01/09 23:28:21 UTC

DELI support added

Hi,

I've just finished checking in the source code for the DELI, Mark
Butler's CC/PP and UAProf library. DELI provide multiple device
capabilities support to Cocoon. Mark has provided some documentation
on how this code is supposed to be used, please check out the
developer documentation. DELI obsoletes the current browser
capabilities database that I wrote for C1, and Davanum ported to C2;
we should probably remove it from the source code at some point.

Mark, please cross check to see if everything is correct. One thing
I've noticed is that the sample stylesheet gives an exception:

java.lang.RuntimeException: Can not convert #STRING to a NodeList!
        at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3174)
        at java.lang.Thread.run(Thread.java:498)


Best regards,
-- 
Ovidiu Predescu <ov...@cup.hp.com>
http://orion.rgv.hp.com/ (inside HP's firewall only)
http://sourceforge.net/users/ovidiu/ (my SourceForge page)
http://www.geocities.com/SiliconValley/Monitor/7464/ (GNU, Emacs, other stuff)

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


RE: DELI support added

Posted by Steven Noels <st...@outerthought.org>.
> I've just finished checking in the source code for the DELI, Mark
> Butler's CC/PP and UAProf library. DELI provide multiple device
> capabilities support to Cocoon.

I get a "Package com.hp.hpl.deli not found in import" when compiling
with "ant -Dinclude.webapp.libs=yes -Dinstall
.war=C:\bin\java\jakarta-tomcat-4.0.1\webapps webapp" :-(

I did a fresh check-out of the xml-cocoon2 module, to no avail neither.

</Steven>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


RE: DELI support added

Posted by Steven Noels <st...@outerthought.org>.
> -----Original Message-----
> From: ovidiu@orion.rgv.hp.com
> [mailto:ovidiu@orion.rgv.hp.com]On Behalf
> Of Ovidiu Predescu
> Sent: woensdag 9 januari 2002 23:28
> To: Mark Butler; Davanum Srinivas; cocoon-dev@xml.apache.org
> Subject: DELI support added
>
> Mark, please cross check to see if everything is correct. One thing
> I've noticed is that the sample stylesheet gives an exception:
>
> java.lang.RuntimeException: Can not convert #STRING to a NodeList!
>         at
> org.apache.xalan.transformer.TransformerImpl.run(TransformerIm
> pl.java:3174)
>         at java.lang.Thread.run(Thread.java:498)

Seems like a genuine XSLT error to me - the deli-capabilities variable
should be set with the location of the RDF profile document, and from
what I see this parameter isn't set correctly when calling the
stylesheet

I tried correcting it, no luck yet - only explicitely using the
document() function in the stylesheets works for now

this little doco patch should be applied anyhow:

RCS file:
/home/cvspublic/xml-cocoon2/src/webapp/docs/samples/samples.xml,v
retrieving revision 1.2
diff -u -r1.2 samples.xml
--- docs/samples/samples.xml	9 Jan 2002 22:20:42 -0000	1.2
+++ docs/samples/samples.xml	10 Jan 2002 08:58:23 -0000
@@ -106,7 +106,7 @@
   </group>

   <group name="CC/PP and UAProf">
-    <sample name="Quick Start" href="documents/deliquick.html">
+    <sample name="Quick Start"
href="documents/developing/deliquick.html">
 	Read this to find out how to enable DELI before trying the test pages.
     </sample>
     <sample name="DELI" href="deli.html">

I guess we should use the resource:/ protocol for locating the profile
docs, since http://localhost:8080/.../legacyProfiles/... seems like a
*very* big assumption to me.

regards,

</Steven>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org