[jboss-user] [jBPM] - JBPM4.4: XMLUtil.element(Element, String, Parse) always returns null

Alejandro Guizar do-not-reply at jboss.com
Sat Jul 10 04:45:38 EDT 2010

Alejandro Guizar [http://community.jboss.org/people/alex.guizar%40jboss.com] replied to the discussion

"JBPM4.4: XMLUtil.element(Element, String, Parse) always returns null"

To view the discussion, visit: http://community.jboss.org/message/552034#552034

> I am trying to use XmlUtil directly, as a utility. I was not using it via the BPM Engine. This is probably why the default implementation of org.w3c.dom.Node (i.e com.sun.org.apache.xerces.internal.dom.NodeImpl)  gets used. I did use it successfully with jBPM 4.3
Alright, this makes things clearer. I believe the reason why your own Element instances return null to getLocalName is that the DocumentBuilder they were created with is not namespace aware. The jBPM Parser class always sets the namespaceAware property of its DocumentBuilderFactory instance to true. This is probably what your own app is missing.


Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100710/78f0460e/attachment-0001.html 

More information about the jboss-user mailing list