Askild Aaberg Olsen wrote:

I have problems binding to an attribute in a namespace. Binding to elements in the same namespace or attributes without namespaces works fine, but when I bind to a qualified attribute I get the following error:

org.apache.commons.jxpath.JXPathException: Exception trying to create xpath @xan:name; Unknown namespace prefix: xan

(I'm trying to bind to the attribute @xan:name, which is declared in the namespace 'http://www.xangeli.com')

Answering my own question, this seems to be caused by pipelineUtil.processToDOM not beeing able to recognize attributes in a namespace. I use this method to generate the document from a pipeline, before it is bound to the CForm.

I will file a report in bugzilla, as soon as i have made a proper test-case.

Askild
-

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to