You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Jonathan Melhuish <j....@signal.qinetiq.com> on 2004/03/25 15:11:14 UTC

Re: cocoon and xpath query

And for those of you who don't speak French... ;-)

lilia ighmouracene wrote:

> La page XML ne peut pas être affichée

The XML page can't be displayed

> Impossible d'afficher l'entrée XML en utilisant la feuille de style 
> XSL. Corrigez l'erreur, puis cliquez sur le bouton Actualiser 
> <javascript:location.reload()> ou réessayez ultérieurement.
>
Unable to display the XML data using an XSL style sheet.

> ------------------------------------------------------------------------
>
> Référence à un préfixe d'espace de noms non déclaré : 'xmldb'. Erreur 
> de traitement de la ressource 
> http://localhost:8080/XML_security/operation?operation=request&req=%2F%2Fdatabase&update=c%3A%2Fmodif.xml&privilege=read&xpath=database&subject=users%2Fmember%5B@id%3D%27dupont%27%5D&propagate=yes&privilege1=restricted&xpath1=database&subject1=users%2Fmember%5B@id%3D%27dupont%27%5D&propagate1=yes&user=dupont. 
> Ligne 2, Position 49
>
><xmldb:results query="//database" resources="1"><xmldb:result docid="vue-user.xml"><database src:col="/db/medical" src:key="vue-user.xml" xmlns:s="http://csysec.univ-pau.fr" xmlns:src="http://xml.apache.org/xindice/Query">
>------------------------------------------------
>
Reference to an undeclared namespace: "xmldb".  Parse error on 
http://localhost:8080/XML_security/operation?operation=request&req=%2F%2Fdatabase&update=c%3A%2Fmodif.xml&privilege=read&xpath=database&subject=users%2Fmember%5B@id%3D%27dupont%27%5D&propagate=yes&privilege1=restricted&xpath1=database&subject1=users%2Fmember%5B@id%3D%27dupont%27%5D&propagate1=yes&user=dupont.

--

Sorry I can't help you with your problem, though, I'm a bit of a newbie 
myself :-(  Maybe you could post line 2 of that file?  Or maybe post to 
a cocoon mailing list, if you think that it may not be Xindice's fault.

Cheers,

Jon

Re: cocoon and xpath query

Posted by Vadim Gritsenko <va...@reverycodes.com>.
Jonathan Melhuish wrote:

> And for those of you who don't speak French... ;-)
>
> lilia ighmouracene wrote:
>
>> La page XML ne peut pas être affichée
>
>
> The XML page can't be displayed
>
>> Impossible d'afficher l'entrée XML en utilisant la feuille de style 
>> XSL. Corrigez l'erreur, puis cliquez sur le bouton Actualiser 
>> <javascript:location.reload()> ou réessayez ultérieurement.
>>
> Unable to display the XML data using an XSL style sheet.


And for Lilia: There is nothing wrong with neither Cocoon nor Xindice in 
this case (as I can see). And you are not supposed to see resulting XML 
with browser - it does not make much sense anyway. See also XML:DB 
samples in Cocoon, they are pretty good (me thinks).

Vadim