cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suzan Foster <suzan.fos...@nerocmediaware.nl>
Subject Cocoon 2.1.8 - namespaced xml binding failing.
Date Thu, 20 Oct 2005 08:52:01 GMT
Hi,

I'm having a problem with binding namespaced xml in 2.1.8 which I had 
solved in 2.1.7. For the previous version it was suffice to upgrade 
JXPath to a nightly build. However that doesn't help with the current 
snapshot of Cocoon I'm using. There is no difference in using either a 
default namespace or prefixes in both xml file and xpath expressions. 
Below is a snippet of log for non-namespaced xml and binding definition 
[1] and for namespaced xml and binding definition [2]. Any help on 
resolving this issue would be greatly appreciated.

[1]

DEBUG (2005-10-20) 10:19.31:796 [forms.bindings] (/main.do) 
http-80-Processor25/ValueJXPathBinding: Done loading ValueJXPathBinding 
[widget=KledingstukOmschrijving, xpath=treetext] -- value= Fraai rokje!
DEBUG (2005-10-20) 10:19.31:796 [forms.bindings] (/main.do) 
http-80-Processor25/ValueJXPathBinding: Done loading ValueJXPathBinding 
[widget=KledingstukPrijs, xpath=text] -- value= € 23,95
DEBUG (2005-10-20) 10:19.31:796 [forms.bindings] (/main.do) 
http-80-Processor25/ValueJXPathBinding: Done loading ValueJXPathBinding 
[widget=KledingstukKleur, xpath=select/obj/@xlink:href] -- value= 
../kleuren/kleuren.xml#ROOD
DEBUG (2005-10-20) 10:19.31:796 [forms.bindings] (/main.do) 
http-80-Processor25/ValueJXPathBinding: Done loading ValueJXPathBinding 
[widget=KledingstukBeschikbaar, xpath=boolean] -- value= true
DEBUG (2005-10-20) 10:19.31:796 [forms.bindings] (/main.do) 
http-80-Processor25/ValueJXPathBinding: Done loading ValueJXPathBinding 
[widget=Maat, xpath=text[position()=1]] -- value= 48
DEBUG (2005-10-20) 10:19.31:796 [forms.bindings] (/main.do) 
http-80-Processor25/ValueJXPathBinding: Done loading ValueJXPathBinding 
[widget=PrijsVan, xpath=text[position()=2]] -- value=
DEBUG (2005-10-20) 10:19.31:796 [forms.bindings] (/main.do) 
http-80-Processor25/ValueJXPathBinding: Done loading ValueJXPathBinding 
[widget=Prijs, xpath=text[position()=3]] -- value= € 23,95
DEBUG (2005-10-20) 10:19.31:796 [forms.bindings] (/main.do) 
http-80-Processor25/ValueJXPathBinding: Done loading ValueJXPathBinding 
[widget=Maat, xpath=text[position()=1]] -- value= 50
DEBUG (2005-10-20) 10:19.31:796 [forms.bindings] (/main.do) 
http-80-Processor25/ValueJXPathBinding: Done loading ValueJXPathBinding 
[widget=PrijsVan, xpath=text[position()=2]] -- value=
DEBUG (2005-10-20) 10:19.31:796 [forms.bindings] (/main.do) 
http-80-Processor25/ValueJXPathBinding: Done loading ValueJXPathBinding 
[widget=Prijs, xpath=text[position()=3]] -- value= € 24,95

[2]

DEBUG (2005-10-20) 10:23.21:796 [forms.bindings] (/main.do) 
http-80-Processor25/JXPathBindingManager: Creation of new binding 
finished. ContextJXPathBinding [xpath=/object]
DEBUG (2005-10-20) 10:23.21:796 [forms.bindings] (/main.do) 
http-80-Processor25/ContextJXPathBinding: non-existent path: skipping 
ContextJXPathBinding [xpath=/object]

-- 

Kind regards,

Suzan Foster
Software Engineer

*NEROC'MEDIAWARE *
De Run 1131
5503 LB Veldhoven
T +31 (0)40 258 66 66
F +31 (0)40 258 66 77

E suzan.foster@nerocmediaware.nl <mailto:suzan.foster@nerocmediaware.nl>

================================================
De informatie opgenomen in dit bericht kan vertrouwelijk zijn en
is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht
onterecht ontvangt, wordt u verzocht de inhoud niet te gebruiken en
de afzender direct te informeren door het bericht te retourneren.
================================================
The information contained in this message may be confidential
and is intended to be exclusively for the addressee. Should you
receive this message unintentionally, please do not use the contents
herein and notify the sender immediately by return e-mail.

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


Mime
View raw message