Cocoon 2.1.8 - namespaced xml binding failing.

2005-10-20 Thread Suzan Foster
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 na

Re: Cocoon 2.1.8 - namespaced xml binding failing.

2005-10-20 Thread Suzan Foster
Correction to my previous post: when the prefixes in the xml file and xpath expressions match it does bind, But when f.i. the xml file binds the namespace to the prefix co: whilst the binding definition binds the namespace to the prefix ab: it fails. [1] DEBUG (2005-10-20) 11:05.31:375 [forms

Re: Cocoon 2.1.8 - namespaced xml binding failing.

2005-10-21 Thread Jean-Baptiste Quenot
* Suzan Foster: > Correction to my previous post: when the prefixes in the xml > file and xpath expressions match it does bind, But when f.i. the > xml file binds the namespace to the prefix co: whilst the > binding definition binds the namespace to the prefix ab: it > fails. That

RE: Cocoon 2.1.8 - namespaced xml binding failing.

2005-10-21 Thread Combinational Logic
@cocoon.apache.org Subject: Re: Cocoon 2.1.8 - namespaced xml binding failing. * Suzan Foster: > Correction to my previous post: when the prefixes in the xml > file and xpath expressions match it does bind, But when f.i. the > xml file binds the namespace to the prefix co: whilst the

Re: Cocoon 2.1.8 - namespaced xml binding failing.

2005-10-21 Thread Suzan Foster
I think the names will be self-explanatory, but just to be thourough: * data.xml is the namespaced xml data. * binding.ok.xml is the namespaced binding using the same prefix as in data.xml. * binding.fail.xml is the namespaced binding using a different prefix for the namespace. Jean-Baptiste

Re: Cocoon 2.1.8 - namespaced xml binding failing.

2005-10-21 Thread Suzan Foster
After looking at the JXPath code I have to come to the conclusion that it doesn't try to normalize the prefixes. I tested this theory by using xmlns:co="http://www.nerocmediaware.nl/NCO/content/1.0"; in my data and xmlns:co="http://www.nerocmediaware.nl/NCO/structure/1.0"; in my binding. This w

Re: Cocoon 2.1.8 - namespaced xml binding failing.

2005-10-24 Thread Jean-Baptiste Quenot
* Suzan Foster: > After looking at the JXPath code I have to come to the > conclusion that it doesn't try to normalize the prefixes. OK, so binding seems to be based on namespace prefix, rather than namespace URI. If you think this is a bug, you might want to file a bug report at ASF

Re: Cocoon 2.1.8 - namespaced xml binding failing.

2005-10-26 Thread Suzan Foster
Jean-Baptiste Quenot wrote: * Suzan Foster: After looking at the JXPath code I have to come to the conclusion that it doesn't try to normalize the prefixes. OK, so binding seems to be based on namespace prefix, rather than namespace URI. If you think this is a bug, you mi

Re: Cocoon 2.1.8 - namespaced xml binding failing.

2005-10-31 Thread Suzan Foster
Suzan Foster wrote: Jean-Baptiste Quenot wrote: OK, so binding seems to be based on namespace prefix, rather than namespace URI. If you think this is a bug, you might want to file a bug report at ASF Jira: http://issues.apache.org/jira/browse/COCOON I need to have a more in-depth look a