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
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
* 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
@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
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
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
* 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
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
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