[jboss-dev-forums] [IronJacamar Development] - Re: IronJacamar RHQ plugin development

Lin Gao do-not-reply at jboss.com
Tue Jan 25 03:41:09 EST 2011


Lin Gao [http://community.jboss.org/people/gaol] created the discussion

"Re: IronJacamar RHQ plugin development"

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

--------------------------------------------------------------
I got the reason:


org.jboss.jca.common.metadata.AbstractParser.attributeAsString(XMLStreamReader reader, String attributeName){
    return reader.getAttributeValue("", attributeName) == null ? null : reader.getAttributeValue("", attributeName)
            .trim();

}



should be changed to:


org.jboss.jca.common.metadata.AbstractParser.attributeAsString(XMLStreamReader reader, String attributeName){
    return reader.getAttributeValue(null, attributeName) == null ? null : reader.getAttributeValue(null, attributeName)
            .trim();

}



For the namespaceURI in method 

XMLStreamReader.getAttributeValue(String namespaceURI, String attributeName)


  If the namespaceURI is null the namespace is not checked for equality
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/582959#582959]

Start a new discussion in IronJacamar Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2099]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110125/ccc47ab6/attachment.html 


More information about the jboss-dev-forums mailing list