User: pra     
  Date: 02/03/06 09:13:43

  Modified:    src/main/org/jboss/mq/xml XElement.java
  Log:
  Changed attribute to be access throug getQName since the namespace aware method 
getLocalName did not return anything
  
  Revision  Changes    Path
  1.6       +3 -2      jbossmq/src/main/org/jboss/mq/xml/XElement.java
  
  Index: XElement.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbossmq/src/main/org/jboss/mq/xml/XElement.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- XElement.java     2 Feb 2002 03:54:21 -0000       1.5
  +++ XElement.java     6 Mar 2002 17:13:43 -0000       1.6
  @@ -49,7 +49,7 @@
    *
    * @author     Hiram Chirino ([EMAIL PROTECTED])
    * @created    August 16, 2001
  - * @version    $Revision: 1.5 $
  + * @version    $Revision: 1.6 $
    */
   public class XElement {
   
  @@ -88,7 +88,8 @@
         name = objectName;
         contents.addElement( new StringBuffer() );
         for ( int i = 0; i < atts.getLength(); i++ ) {
  -         metadata.put( atts.getLocalName( i ), atts.getValue( i ) );
  +         metadata.put( atts.getQName( i ), atts.getValue( i ) );
  +         //metadata.put( atts.getLocalName( i ), atts.getValue( i ) );
         }
      }
   
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to