cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Noels" <stev...@outerthought.org>
Subject RE: DELI support added
Date Thu, 10 Jan 2002 09:18:46 GMT
> -----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


Mime
View raw message