cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lilia ighmouracene" <lili...@hotmail.com>
Subject Re: a solution for the xmldb prefix pb
Date Sat, 15 May 2004 19:45:44 GMT
<html><div style='background-color:'><DIV class=RTE>
<P>hi,</P>
<P>the pb is that when queyring a xindice document whithin cocoon, i've a not wellformed
document because the prefix xmldb is not bound . </P>
<P>so to resolve this, i've changed the prefix xmldb in the xmldbsource.java in the
cocoon's src and 've built&nbsp;&nbsp;the webapps cocoon.<BR><BR></P></DIV>
<DIV></DIV>&gt;From: Upayavira &lt;uv@upaya.co.uk&gt; 
<DIV></DIV>&gt;Reply-To: dev@cocoon.apache.org 
<DIV></DIV>&gt;To: dev@cocoon.apache.org 
<DIV></DIV>&gt;Subject: Re: a solution for the xmldb prefix pb 
<DIV></DIV>&gt;Date: Sat, 15 May 2004 19:56:01 +0100 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Joerg Heinicke wrote: 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;&gt;On 14.05.2004 11:08, lilia ighmouracene wrote: 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt;&gt; 
<DIV></DIV>&gt;&gt;&gt;hi, 
<DIV></DIV>&gt;&gt;&gt; 
<DIV></DIV>&gt;&gt;&gt;I have changed the XMLDBsource.java in the
cocoon src, and i have 
<DIV></DIV>&gt;&gt;&gt;build the cocoon&nbsp;&nbsp;webapps
application. 
<DIV></DIV>&gt;&gt;&gt;the change that i have did is to remplace the
string 'xmldb' ,for 
<DIV></DIV>&gt;&gt;&gt;example, by 'query' and you can change it as
that's seems for you. 
<DIV></DIV>&gt;&gt;&gt;&nbsp;&nbsp;now,the pb of xmldb prefix
is resolved. So, when i query a 
<DIV></DIV>&gt;&gt;&gt;xindice document&nbsp;&nbsp;within
cocoon, i have a well formed document 
<DIV></DIV>&gt;&gt;&gt;result 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt;You mean you removed the namespace prefix 'xmldb' from
the created 
<DIV></DIV>&gt;&gt;elements so that not &lt;xmldb:element&gt;
is in the result, but 
<DIV></DIV>
<P>&gt;&gt;&lt;element&gt; in no namespace? </P>
<P>&nbsp;i can not make any xslt transform on the result document( bacause the xmldb
prefix error )so i can&nbsp; not remove the xmldb prefix. Now, with the xmldbsource.java
change , i have not the pb and xmldb is replaced with the new prefix in the xmldbsource.java.</P>
<P>thanks</P>
<DIV></DIV>&gt;&gt;Obvioulsy this works, but I understand this only as
workaround for 
<DIV></DIV>&gt;&gt;the real problem. 
<DIV></DIV>&gt; 
<DIV></DIV>
<P>&gt;Out of curiosity, I missed the original problem. What was it? </P>
<P>the pb is that when queyring a xindice document whithin cocoon, i've a not wellformed
document because the prefix xmldb is not bound . </P>
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Upayavira 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV></div><br clear=all><hr>MSN Messenger : discutez
en direct avec vos amis ! <a href="http://g.msn.com/8HMBFR/2734??PS=47575">Cliquez-ici</a>
</html>

Mime
View raw message