JBoss Community

Re: IronJacamar RHQ plugin development

created by Lin Gao in IronJacamar Development - View the full discussion

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

Start a new discussion in IronJacamar Development at Community