This content has been marked as final. Show 1 reply
I found that changing a setting of "http://xml.org/sax/features/namespace-prefixes" to "true" (was "false") in org.jboss.axis.utils.XMLUtils.java of JBossAS 4.0.3SP1 can make the following codes work(I mean I can get "xxxxx" instead of null).
String XML_SCHEMA_NS = "xmlns" String nameSpace = element.getAttribute(HandlerNames.XML_SCHEMA_NS);
My understanding is that a reson of the original "false" setting is according to
It will also not contain attributes used as Namespace declarations (xmlns*) unless the http://xml.org/sax/features/namespace-prefixes feature is set to true (it is false by default).
A few questions.
[Q3] Is my understanding correct? Or any other reason of "false" setting of http://xml.org/sax/features/namespace-prefixes?
[Q4] Is there any configuration option in *.xml or *.properties in JBossAS(actually JBossWS or JBossWS2EE) to change the setting instead of changing the source code?